Search code examples
apachetomcat7reverse-proxymod-proxyajp

apache + tomcat using mod_proxy ajp randomly stops working


I am using apache and mod_proxy (via ajp) to send traffic to my tomcat instance. Everything works fine and then it randomly breaks. I see a 408 in the tomcat logs and apache is returning a 503.

Has anyone seen this before? Any reason this would occur?


Solution

  • This ended up being due to the way amazon's load balancer does health checks. I ended up switching to mod_jk and using a random port for the health check to occur where normal traffic does not occur.