I'm unable to get mod_jk load balancing working. The usual mod_jk setup
works just fine, but using a load balancing worker however, is not.
[Oddly, my webserver crashed during testing of this, but that could very
well be unrelated]
The problem is with user sessions. The instances (nodes) do not seem to
recognize an already established session with the user and are creating
new sessions. It's possible that is a "session-stickiness" issue, but it
appears like the requests are hitting the same instance, just not
getting the previously established session. As a result, I can't even
reliably login to my application.
I created a session listener for debugging purposes and it reports -no-
destroyed sessions, but plenty of newly created sessions on both
instances that make up the "cluster". The session IDs, I noticed, have
the jvmRoute name attached to them, which should be a good sign.
I have a webserver running Apache (1.3.33), mod_jk (1.2.14), and an
application server running the "cluster" -- 2 instances tomcat (5.0.28)
on different ports.
I added a unique jvmRoute to both instances in the server.xml:
<Engine name="Catalina" defaultHost="localhost" jvmRoute="dev_alexis">
<Engine name="Catalina" defaultHost="localhost" jvmRoute="noah_alexis">
My worker.properties loadbalancer settings:
Any ideas, things I could try would be much appreciated.
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]