aspose file tools*
The moose likes Servlets and the fly likes Servlet Context like thing when we go for Clustering... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet Context like thing when we go for Clustering..." Watch "Servlet Context like thing when we go for Clustering..." New topic
Author

Servlet Context like thing when we go for Clustering...

Manohar Karamballi
Ranch Hand

Joined: Jul 17, 2001
Posts: 227
Hai All!
I am using servlet context for tracking the Sessions of Users by storing session info in that. (Say user can't access more than 3 sessions at a time ). This worked fine as long as i worked with a single server processing requests. Now i have Server Clustering and request can be directed to any of the Servers and my idea of Servlet Context fails.
So is there any alternative approach to handle this situation?
That is some sort of object is to be created to store session info and it is to be accessed by all of the servers in a Cluster.
Efficiency is also a matter of concern but first of all alternative approach is required.
Any suugestions in this regard is appreciable.
Regards & TIA
Manohar
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15662
    
  15

I think you'll have to read the docs specific to whatever brand of appserver you're running.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet Context like thing when we go for Clustering...
 
Similar Threads
Creating Clusters Weblogic 6.0
Tomcat 6.0.X (could be 18, 26 or 32 tried all 3)
custom security and HttpSession access
while implementing clustering why shouldn't i use Servlet application scope and stat
What does *cluster* do to our applications?