• 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

Tomcat breaking Sessions?

 
Ranch Hand
Posts: 375
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a web application which works prefectly fine, except that sometimes, with multiple clients, the session data "breaks" and all the methods which work on this data also break as a result. So my question is, does Tomcat guarantee multi-threading capability? Is each session object for each client safe from one another? The current problem I have is that working on session data from one client sometimes causes it to somehow currupt data from another session and crash Tomcat. I am simply getting some data from the session, processing it using 3rd party libraries and storing new data in the session again. This does not happen all the time, and it works well for a single user (and for multiple clients for a short period of time). I have not yet managed to find any pattern as to why/how this happens.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sounds like a Tomcat question rather than a Servlets question. I am going to move this thread to the Apache/Tomcat forum.


Mark
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic