Tomcat session stickiness in session replication

Posted by rabbit on Stack Overflow See other posts from Stack Overflow or by rabbit
Published on 2010-04-26T07:25:49Z Indexed on 2010/04/26 7:33 UTC
Read the original article Hit count: 300

Filed under:

Hi, I am having a 2 instance load balanced and session replicated tomcat 6.0.20 cluster. Should sticky_session be set to true or false for in memory session replication.

http://tomcat.apache.org/connectors-doc/reference/workers.html mentions : Set sticky_session to False when Tomcat is using a Session Manager which can persist session data across multiple instances of Tomcat.

where as /tomcat-6.0-doc/cluster-howto.html (Cluster Basics) mentions : Make sure that your loadbalancer is configured for sticky session mode.

© Stack Overflow or respective owner

Related posts about tomcat