I recently upgraded to Apache 2.2 with Tomcat 5.0 and made
modifications to the connector between the two, since MOD_PROXY_AJP
replaced MOD_JK.
We deploy a war file to our environments and restart Tomcat to deploy,
but it is giving us 503 errors, almost like the connector does not
re-establish. In order to get it to work properly we need to restar
the Apache service as well. In the previous Apache version 2.0.5x we
did not have to restart Apache, just Tomcat.
Including Apache connector config:
<Proxy *>
Order Deny,Allow
Deny from all
Allow from 192.168
</Proxy>
ProxyRequests On
ProxyMaxForwards 20
ProxyPass /tomcat-admin/
ajp://X.X.X.X:8009/tomcat-admin/ smax=5 max=35
ttl=120 retry=300
As explained above, previously I was able to start whichever process I
wanted to first (Apache, Tomcat), (Tomcat, Apache).
It now seems that you have to stop Apache restart Tomcat and then
restart Apache, if not you will get 503 errors.
please advise.