-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

James,

James Hoare wrote:
> Hi, was wondering if someone could clear this up for me.

I probably can't clear it up, 'cause I have no experience with JBOSS (or
even Tomcat) clusters, but I have a few thoughts...

> We have mod_jk in apache loadbalancing our JBOSS cluster with session
> affinity. We've noticed that once the JESSIONID has been created with
> the call to req.getSession() and the jvmroute encoded by the tomcat
> worker, that if the JBOSS instance that originally created the
> HttpSession is taken off line the next JBOSS instance that receives
> the request doesn't rewrite the cookie with the new JESSIONID for
> that app server?
> 
> Is that the correct behaviour?

If the server instance is participating in a cluster, presumably the
session ids are unique across the cluster. If that's the case, then the
session id is valid no matter which server instance you get and so the
session id wouldn't change if you switched servers.

Does the session continue to "work" after this failover? That is, is
there actually a problem, or are you just asking because you are
observing something unexpected?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklvdTsACgkQ9CaO5/Lv0PDX/gCdHs0EIQT8VWAxauRZAjCurHEP
YBcAmwQAlsnXBSymUwdwPGmNbFtObNUv
=Akmg
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to