Questions tagged [mod-proxy-ajp]

56 questions
10
votes
1 answer

mod_proxy_ajp (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header

I am using mod_proxy_ajp with Tomcat and I receive the following error: (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header How do I fix this?
DD.
  • 3,024
  • 10
  • 34
  • 50
7
votes
2 answers

Increasing timeout for mod_proxy_ajp connections

I've got my apache (2.2.3) talking to tomcat 6.something through mod_proxy_ajp. I have some ridiculously long lived requests (2-6 minutes) and I think we're hitting some default timeout somewhere... where is the correct place to bump that up? here…
danb
  • 173
  • 1
  • 3
  • 6
6
votes
1 answer

How to re-activate disabled Apache 2.2 AJP connections?

I don't use AJP for load-balancing; I have a single Apache 2.2 instance that proxies some URLs to a single Tomcat 7 instance via AJP. When Tomcat is down, the AJP proxy becomes disabled on the first failed request, and is not re-enabled when Tomcat…
rustyx
  • 1,506
  • 3
  • 19
  • 28
6
votes
7 answers

Apache load balancer limits with Tomcat over AJP

I have Apache acting as a load balancer in front of 3 Tomcat servers. Occasionally, Apache returns 503 responses, which I would like to remove completely. All 4 servers are not under significant load in terms of CPU, memory, or disk, so I am a…
3
votes
1 answer

using apache2 mod_proxy(_balancer) for 3+3 tomcat failover configuration

we have got 3 active Tomcat instances, the load should be distributed evenly amongst them (sticky sessions via jvmroute, ajp). We also have got 3 failover Tomcat instances running. If one of the 3 active instances fails, one of the 3 failover…
hey
  • 317
  • 1
  • 5
  • 14
2
votes
1 answer

Denying a User-Agent in apache that uses mod_proxy

I want to prevent web crawlers from using an apache site that is configured to forward all requests to a ProxyPass. I have tried the BrowserMatchNoCase directive to set an environment variable block_spider. When I change my user-agent in my web…
Eric
  • 31
  • 3
2
votes
0 answers

Enabling mod_spdy with mod_proxy_ajp to Tomcat

I am using mod_proxy_ajp to Tomcat. If I enable mod_spdy... Will this mean that connections over the proxy will be SPDY enabled?
DD.
  • 3,024
  • 10
  • 34
  • 50
2
votes
2 answers

How to diagnose Tomcat 6 suddenly stop responding?

I run a number of tomcat instances and occasionally some just stop reponding to requests - timeout on every connection. I'm using AJP with mod_proxy in Apache 2.2. I get a timeout via Apache/AJP through Tomcat's AJP connector, but also via the…
Nic Cottrell
  • 1,282
  • 16
  • 31
2
votes
3 answers

How to restrict particular URL using Apache ajp Reverse Proxy

I'm using Apache Reverse Proxy, following is some of Apache Virtual Host configuration: ProxyRequests Off AddDefaultCharset off Order deny,allow Allow from all ProxyVia On …
Mahesh.D
  • 127
  • 1
  • 1
  • 9
2
votes
0 answers

Long running process times out through an apache proxy but not when bypassing the proxy

So I have this tomcat based webapp. Part of this webapp lets you upload a file that then is checked against a backend database. This process takes a long time, up to 15 minutes in some cases. Now the rub is that I'm getting timeouts at the 5…
Dan R
  • 255
  • 1
  • 3
  • 13
2
votes
1 answer

How does Apache mod_proxy_ajp work when Jboss runs as a cluster with AJP on 2 different ports?

I am trying to get an Apache webserver to load balance to a JBoss cluster, but unfortunately, I dont understand how mod_proxy_ajp works through the load balanced scenerio, since each of the 2 instances of JBoss run AJP on a different port. Since I…
djangofan
  • 4,172
  • 10
  • 45
  • 59
2
votes
3 answers

Why do some rewrite rules fail while AJP is serving all of my requests to Tomcat?

I have a Apache server using mod_proxy_ajp to have Jboss/Tomcat5.5 handling all the requests. Here is how I configured Apache 2.2.17, and for the most part, it works: # Proxy pass all work to Tomcat, mod_jk 1.2.31 # ProxyPass /…
djangofan
  • 4,172
  • 10
  • 45
  • 59
2
votes
1 answer

Change hostname in hyperlinks in email generated by Atlassian Confluence

I have an instance of Atlassian Confluence fronted by Apache using mod_proxy_ajp to pass inbound port 80 requests to 8080 on tomcat. Let's say the url users use is http://www.mywiki.com/confluence/. Confluence generates emails to send to users…
ed209
  • 392
  • 1
  • 5
2
votes
3 answers

How to configure apache and mod_proxy_ajp in order to forward ssl client certificate

I've developed a java application that need a ssl client certificate and in the staging environment with apache 2.2 and mod_jk it is working fine. In production the configuration is not using mod_jk but mod_proxy_ajp. I'm looking for an apache…
giovanni.cuccu
1
vote
1 answer

Session Invalid when using AJP

I have the following setup: Apache running the front end (AngularJS) Tomcat 7 Running back end (Spring MVC, Spring Security) Apache Config ServerAdmin webmaster@localhost DocumentRoot /var/www/html ErrorLog…
bwright
  • 121
  • 6
1
2 3 4