• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 227
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think you'll have to read the docs specific to whatever brand of appserver you're running.
 
reply
    Bookmark Topic Watch Topic
  • New Topic