tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Gomez <henri.go...@gmail.com>
Subject Re: mod_jk, JSESSION_ID and load-balancing
Date Wed, 26 Jun 2013 17:45:00 GMT
I'll try it as soon as available. 

Thanks Rainer,  "Prince of Jk" :-)


Le 26 juin 2013 à 19:42, Rainer Jung <rainer.jung@kippdata.de> a écrit :

> On 26.06.2013 16:54, Henri Gomez wrote:
>>> You can configure the name of the session cookie in TC 6 and 7.
>> 
>> I see sessionCookieName in
>> http://tomcat.apache.org/tomcat-7.0-doc/config/context.html ...
>> 
>>> 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".
> 
> Naa, that's still Mladen. Blame him if something is not working ;)
> 
>> I think it will bring more values to many uses cases and act as
>> mod_proxy/http so not too bad
> 
> Basic hack is done, will do some basic testing, then commit and provide
> you with a snapshot tarball to do your own testing.
> 
> Regards,
> 
> Rainer
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message