Glassfish 22.214.171.124(build 5) with mod_proxy_ajp balancer throws 404 error for valid URI
We have Glassfish 126.96.36.199(build 5) cluster of 4 servers which is load-balanced using mod_proxy_ajp load-balancer with sticky session on.
The Timeout in Configuration >
We make a sequence of AJAX calls at a fixed interval to the application deployed on this setup. We observed that when the interval is equal to the Timeout value ( 30 seconds), Glassfish node responds with 404 error code intermittently for a valid URI. While we can ensure that the interval is different than the Timeout value, I want to know why is this happening?
Another problem that we are facing is that despite of setting sticky session on, the requests are getting directed to different nodes occasionally. Since we don't have the session replication enable across node, the session info is lost whenever this happens.
Any help in this direction would be great.