0
votes
1answer
11 views

Two tomcat 7 instance running on same machine not accepting requests on AJP connector

I have setup a tomcat cluster with session replication running on same machine. I have modified the connector and shutdown ports as node1 --http 8080 --ajp 8009 --shutdown 8005 node2 ...
0
votes
0answers
83 views

mod_proxy_ajp serves pages as content_type: application/octet-stream sometimes

I cannot figure out what causes this but at times every 3rd load Firefox will load a tomcat application page served via apache front end with mod_proxy_ajp as a file download of type ...
0
votes
3answers
1k views

Jboss unreachable/ slow behind apache with ajp

I have an linux server running with a JBoss Instance with apache2. Apache2 will use AJP connection to reverse proxy to JBoss. I found these messages in the apache error.log: [error] (70007)The ...
0
votes
0answers
455 views

Apache + Tomcat error 120006 Using mod_proxy_ajp for Load Balance

I have an apache 2 frontend with two nodes, and a backend with two instances of tomcat 6 balance with mod_proxy_ajp. The bbdd is in a separate machine. All machines use RHEL, 6.2 on the frontend, 5.5 ...
0
votes
0answers
102 views

Apache+Tomcat: why does a restart take exactly 30 seconds?

We have an Apache server and a Tomcat, connected via ajp protocol. ProxyPass /foo ajp://foo.bar.baz:8009 ProxyPassReverse /foo ajp://foo.bar.baz:8009 Now, after restarting Tomcat and Apache, it ...
1
vote
1answer
787 views

Apache2 mod_proxy to remote Tomcat7 - slow response

Been stuck with this one for a few days. Will try to provide as much information as possible, but please feel free to ask for extra detail. I have 2 VMs behind a NAT, 192.168.0.100 and 192.168.0.102, ...
0
votes
1answer
835 views

Apache ajp reverse proxy redirect a specific page to https

I have apache load balancing reverse proxy with mod_proxy_ajp running and redirecting to the backend tomcat servers. I have also created a separate virtual host for HTTPS(SSL) along with HTTP virtual ...
1
vote
1answer
315 views

Tomcat Workers - Connecting Tomcat and Apache

I'm trying to resolve an issue about connecting Apache-HTTPD and Tomcat with mod_proxy_ajp. From reading I found that the problem might be the number of workers in HTTPD and Tomcat. So I try to find ...
3
votes
1answer
2k views

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 ...
0
votes
1answer
1k views

Setting up AJP with JBoss 7

I have two different versions of JBoss on a server, JBoss 6.0 Final and JBoss 7.0.2. I can one run or the other by switching a couple of sym links and issuing a "service jboss start" command. I am, by ...
1
vote
0answers
283 views

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 ...
1
vote
1answer
344 views

How to configure mod_proxy_ajp to give different permissions to different apps in one virtual host?

On my server I have two tomcat applications: 'hidden' and 'open'. The hidden application should only be available for the local network 192.168.0.0. The open app should be available for all networks. ...
2
votes
1answer
124 views

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/. ...
1
vote
1answer
750 views

Equivalent of JkMount with AJP in Tomcat 6

It is my understanding that JkMount is deprecated and no longer used in tomcat6. How would I make the following rule with only ajp? JkMount /*/servlet/* ajp13
0
votes
1answer
1k views

Apache, Tomcat 5 and problem with HTTP basic auth

I have setup a Tomcat with a webapp that uses http basic auth in some of its URLs. There is a Apache server in front of the Tomcat. I have setup Apache as a proxy like this (all traffic should go ...
3
votes
7answers
17k views

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 ...
3
votes
2answers
5k views

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... ...