tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Gomez <>
Subject Re: mod_jk, JSESSION_ID and load-balancing
Date Wed, 26 Jun 2013 14:54:39 GMT
>You can configure the name of the session cookie in TC 6 and 7.

I see sessionCookieName in ...

> So if in your case Tomcat would also set a cookie (in addition to the
> app) we wouldn't need anything else. Just switch TC to MYCOOKIE and
> configure mod_jk to look for MYCOOKIE.

It may works but Nexus is hacking JSESSIONID in extjs side also ;(
I'll try BTW

> But it could well be, that Nexus actually replaces the session
> management of Tomcat in which case TC would not set a cookie on its own.
> Can you check that?

Nexus/Shiro is removing JESSIONID by its own ;(

> I started to hack on mod_jk to let it set cookies, but there are some
> subtleties which make it not that easy (e.g. deriving the correct path
> for the cookie form a JKMount). So probably there's a bit mor of
> configuration and wiring necessary.

Rainer, you're "king of jk".
I think it will bring more values to many uses cases and act as
mod_proxy/http so not too bad

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message