jQuery in Action, 3rd edition
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 Head First Android 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!
I agree. Here's the link: http://aspose.com/file-tools
subject: Tomcat cluster
It's not a secret anymore!