[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Terracotta and Tomcat - jvmRoute and com.tc.session.serverid  XML
Forum Index -> Terracotta for Web Sessions
Author Message


Joined: 01/27/2012 03:19:58
Messages: 14


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


Joined: 01/23/2011 10:58:07
Messages: 489

No, AFAIK, you do not require anything else. See below link.


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.

Karthik Lalithraj (Terracotta)
Forum Index -> Terracotta for Web Sessions
Go to:   
Powered by JForum 2.1.7 © JForum Team