This content has been marked as final.
Show 1 reply
-
1. Re: JSESSIONIDs and Buddy Replication
brian.stansberry Mar 23, 2006 12:26 PM (in response to manik)In the case of mod_jk, this is already handled by the session replication layer. If useJK is "true" we add a valve (org.jboss.web.tomcat.tc5.session.JvmRouteValve) that analyzes requests, checking if the jvmRoute of the request's session doesn't match that of our Tomcat Engine. If there is a mismatch, we change the session id and emit a modified session cookie.
We need to look into making this functionality pluggable so we can add implementations interoperate with loadbalancers that use some other mechanism for identifying the sticky node.
See http://jira.jboss.com/jira/browse/JBCLUSTER-101.