aspose file tools
The moose likes Tomcat and the fly likes How to replicate sessions between two web applications on the same tomcat? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "How to replicate sessions between two web applications on the same tomcat?" Watch "How to replicate sessions between two web applications on the same tomcat?" New topic
Author

How to replicate sessions between two web applications on the same tomcat?

wayne yeh
Greenhorn

Joined: Dec 14, 2011
Posts: 2
I have two web applications (simply called app1 and app2 in the following) on the same tomcat, and sometimes app1 will be re-deployed.
Is there a way to replicate the session from app1 to app2 when app1 is down, and recover it back when app1 comes back?
I have tried surveying keywords like "session migration" and "clustering".
But it seems that they are used in the situation of putting the web applications on different tomcat servers.
I don't know how to try it in the same tomcat server with different web applications...

Thanks!
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to replicate sessions between two web applications on the same tomcat?
 
Similar Threads
How to integrate two web applications having two different context paths
Spring session timeout using IE6
Tunneling Concept Query
Session problem!
multiple apps pointing so same docbase locking the log files from rolling