I have configured jboss[4.0.2] clustering between 2 nodes node1 and node2. I am using sticky session and apache server2.2 is installed and is configured for load balancing. Due to sticky sessions the request are handled by only one node at a time. So when ever the node serving request is crashed/shutdown ideally request should be failed over to other node immediately. But this is not working still the request is sent to the node which is failed and on browser resource not available error is displayed.
After few seconds when the node shutting down is completely down when the page is refreshed the request is sent to the alive node.
The configuration in worker.properties is as follows:
# Define the first node...
# ...and the second node.
# Now we define the load-balancing behaviour
can some one please resolve this issue? Or provide some useful information on this problem.
Thanks & Regards,