• New Feature
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • Sessions
  • hhuynh
  • Reporter: teck
  • April 17, 2007
  • 0
  • Watchers: 0
  • July 09, 2007
  • June 27, 2007

Description

This idea was born from this forum discussion: http://forums.terracotta.org/forums/posts/list/202.page

mod_jk is a plugin for apache httpd that lets one do load balancing to a set of backend tomcat instances. The format of the session tracking cookie (JSESSIONID) generated by the DSO/Terracotta session manager is not a format that mod_jk can understand (thus it cannot provide sticky sessions).

There is an attribute “jvmRoute” in tomcat’s configuration that supplies the label that mod_jk understands. If that value is present in the local tomcat configuration we should probably use that instead of our own generated server identifier. We already do this in the case of weblogic for exactly the same reason.

Some info about tomcat clustering and the “jvmRoute” parameter: http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html

Comments

Hung Huynh 2007-07-09

Test added SessionIDIntegrityTest