File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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?
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:
subject: Tomcat cluster
It's not a secret anymore!