Hi Henri, On 25.06.2013 22:11, Henri Gomez wrote: > Hi Christopher > > I don't have access to code inside application, I'm using stock Sonatype > Nexus OSS who use Shiro internally to manage (and regenetate JSESSIONID > cookie), loosing jvmRoute contents. > > See https://issues.sonatype.org/browse/NEXUS-5756 > > We could told mod_jk to use another cookie but I think Tomcat allways > append jvmRoute content to cookie JSESSIONID.
You can configure the name of the session cookie in TC 6 and 7. 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. 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? 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. Regards, Rainer --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org