tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Rees <>
Subject Re: Authentication problems with tomcat clustering.
Date Wed, 06 Apr 2005 00:50:46 GMT
On Apr 5, 2005 3:13 PM, David Owens <> wrote:
> After further debug, I see this is happening because mod_jk is
> "ignoring" the sticky sessions, and continuing to lb back and forth.
> After looking at the mod_jk code, I see it is looking for something
> after the '.' character in the JSESSIONID to tell it where the session
> should stick.
> How do I setup tomcat (or is it httpd) to provide this piece of
> information?

The name of your worker in the mod_jk config must match the value in
each Tomcat instance's server.xml.

For example (abbreviated configs) in


And in tomcat1's server.xml:
<Engine jvmRoute="tomcat1"/>

And in tomcat2's server.xml:
<Engine jvmRoute="tomcat2"/>

Hope this helps...


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message