I have set up an Apache (httpd version 5.2) server like a proxy on CentOS version 5 for Tomcat (6..26) while using directives below. Regrettably, every request is timing out. I have checked both httpd and tomcat logs and you will find no errors. Anybody know what is wrong? Thanks.

ProxyPass /ws-app http://xxx.xxx.xxx.xxx:8080/ws-app
ProxyPassReverse /ws-app http://xxx.xxx.xxx.xxx:8080/ws-app

After I enter url -- http://xxx.xxx.xxx.xxx/ws-app/user/list I expect a range of customers in xml format. Regrettably, rather I am getting:

The bond has timed out

The server at xxx.xxx.xxx.xxx takes too lengthy to reply.

It's very uncommon to proxy the bond towards the Tomcat HTTP connector. Why not make use of the AJP connector? This can bring a lot more performance!

Make certain you've this inside your server.xml:

<Connector port="8009" redirectPort="8443" protocol="AJP/1.3" />

Then install mod_proxy_ajp and employ the next configuration:

ProxyPass /ws-app ajp://xxx.xxx.xxx.xxx:8009/ws-app
ProxyPassReverse /ws-app ajp://xxx.xxx.xxx.xxx:8009/ws-app

Please also make sure that the bond to port 8009 around the remote host isn't blocked with a firewall.