Hi,
I am using the JK connector methodology for load-balancing 2 Tomcats (5.5) running behind an Apache (2.2.4) web server.
I successfully managed to setup the load balancer for a web application for which session management through cookies was enabled. However, when I tried to setup the same configuration for another application which manages sessions using jsessionid and has cookies disabled, I am facing some trouble.
It appears that inspite of having explicitly set the "sticky_Session" attribute for the balancer worker, requests made by the same session keep on alternating between the 2 Tomcats.
============================
The worker.properties file
============================
In the server.xml for each
Tomcat, I've got the "Engine" element as follows:
Session management through Cookies has been disabled for this application. Instead we are using URL encoding to maintain sessions using the jsessionid.
Anyone who can shed some light on this? Really appreciate!