aspose file tools*
The moose likes Tomcat and the fly likes Tomcat breaking Sessions? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat breaking Sessions?" Watch "Tomcat breaking Sessions?" New topic
Author

Tomcat breaking Sessions?

K Riaz
Ranch Hand

Joined: Jan 08, 2005
Posts: 375
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.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

Sounds like a Tomcat question rather than a Servlets question. I am going to move this thread to the Apache/Tomcat forum.


Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat breaking Sessions?