-
1. Re: HttpSession values not updating
bigdave Aug 19, 2003 6:59 AM (in response to bigdave)In answer to my own question- while trying to get apache2/tomcat sticky sessions working as a workaround to my clustering woes- I set the jvmroute property in
server\all\deploy\jbossweb-tomcat.sar\META-INF\jboss-service.xml
to reflect the server/AJP port used eg:
Which fixed both problems- sessions were sticky as they had something to bind to, as mentioned elsewhere on this forum, but more importantly my clustered instances now had the jvmroute appended to their JSessionID to uniquely identify the object.
Previously I would imagine that each instance was searching for the exact same JSessionID key and only ever using their local copy of the session, but now that machine/port names are appended they recognise remote instances they might like to try to use.
I haven't found any mention of this in the JBoss clustering document, so be advised. -
2. Re: HttpSession values not updating
slaboure Aug 19, 2003 1:10 PM (in response to bigdave)which version : mod_jk or mod_jk2?
-
3. Re: HttpSession values not updating
bigdave Aug 20, 2003 4:56 AM (in response to bigdave)This is under mod_jk2. I've got sticky sessions going fine now there's a jvmroute in there, although I was somewhat surprised that this also fixed my HttpSession clustering problems...