wood burning stoves 2.0*
The moose likes Web Services and the fly likes Tomcat cluster Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Tomcat cluster" Watch "Tomcat cluster" New topic

Tomcat cluster

jasdeep parmar

Joined: Oct 06, 2008
Posts: 20

I am working on tomcat cluster environment. what is happening is that user is getting bounced to different servers while staying in same window and same session over different request and jsp pages. When user is getting bounced to different server the session scoped beans are not retaining the values and appears like state of session is not being retained. Can someone please suggest what might be causing this.

Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
Have you seen this? http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html
Basically, session data is not automatically replicated between the node in a cluster, unless you set it up to do so.
Best wishes!
subject: Tomcat cluster
Similar Threads
session object changed
Is there some kind of HttpSession server out there?
Session migration
Syncronisation of WAS servers in a cluster
why session migration and not replication?