You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Tomcat Random <to...@gmail.com> on 2013/07/24 23:40:30 UTC

Session replication advice

I have two physical servers running Tomcat 7.0.42, each running the same
webapp.

I'm interested in some advice with session replication. I'm not concerned
with fail-over, or high-availability. I just want to be able to have
sessions maintained when the user is routed to a different server by the
load balancer.

Is the documentation accurate in that just doing:

*Simply add
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
to your <Engine> or your <Host> element to enable clustering.*

I've been through the docs and still a little confused as to the best way
to implement session replication.

TIA
Alec