Hi - I have Apache 2.2.3 Web server that connects to two Tomcat 5.5.26
app servers via mod_proxy_ajp. Following is the configuration on Web
Server.
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
<Proxy balancer://ampapps>
BalancerMember ajp://<App Server1 IP>:8009 route=app1
keepalive=On timeout=300
BalancerMember ajp://<App Server1 IP>:8009 route=app2
keepalive=On timeout=300
</Proxy>
<Location /amp-int>
ProxyPass balancer://ampapps/amp-int stickysession=JSESSIONID
ProxyPassReverse balancer://ampapps/amp-int
</Location>
<Location /amp>
ProxyPass balancer://ampapps/amp stickysession=JSESSIONID
ProxyPassReverse balancer://ampapps/amp
</Location>
<Location /balancer-manager>
SetHandler balancer-manager
Order Deny,Allow
Allow from all
</Location>
Earlier I had nofailover-On against ProxyPass but that seems to be
causing frequent connection timeout problems. Now with this
configuration, I get
(32)Broken pipe: ajp_ilink_send(): send failed
It comes after some idle time and recovers after few minutes. But the
user see 503 - Server Unavailable error whenever it comes. Any help is
greatly appreciated.
Regards,
Anish Mehta