Can anyone help me explain how to set this up properly and what the jvmRoute and com.tc.session.serverid means to Tomcat and Terracotta? We recently started loadbalancing our application and immediately ran into session problems.
Is jvmRoute (in Tomcat's server.xml) and the Tomcat JVM parameter -Dcom.tc.session.serverid necessary to be set for sessions to work properly when loadbalanced? Can anyone please explain how this works to me?
Our setup is as follows:
node 1: Terracotta, and Tomcat as a Terracotta-client
node 2: Tomcat as a Terracotta-client
What version of Tomcat and Terracotta are you using? If you wish to debug further, I would suggest to start the developers console and get more visibility into your cluster.