Hi all, I’m wondering whether tomcat can store session information in different
tomcat instance? IMHO the answer is NO. Therefore I would like to share my thought on: Saving
sessions across tomcat instances. A month ago I have posted patch to allow tomcat load balancing when
working with no cookies. This patch is the basic block to my thoughts on
creating infrastructure to allow moving the session object between tomcat
instances. The patch I posted added the tomcat ‘name’ (jvmRoute) to the sessionID,
so if you are working with load balancing configuration you should see the
tomcat name appear at the end of the seesionID. Mod_jk (and jserv) use this
trail to forward the request to the right tomcat instance. Allowing tomcat to replicate its session to another tomcat will allow real
Tomcat redundancy and high-availability. My thoughts are to build the system in the following steps:
I’m going to implement this against tomcat 3.3 (checking out Jakarta-tomcat,
not tomcat_32 from CVS. Am I right? Or there is tag for 33?) I would like to get you thoughts whether this is required or not, any implementation
hints, or any other requests before I’m getting into implementing this. Please let me know what you think. ________________________ Shai Fultheim Chief Technology Officer E-Mail: [EMAIL PROTECTED] Mobile: 972-53-866-459 Office: 972-2-5891-459 |
- Re: Saving sessions across tomcat instances shai
- Re: Saving sessions across tomcat inst... N.Rajesh Babu
- Re: Saving sessions across tomcat inst... Dimon - Gudmundur Hafsteinsson