wood burning stoves*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Session preserved across Tomcat restarts ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Session preserved across Tomcat restarts ?" Watch "Session preserved across Tomcat restarts ?" New topic
Author

Session preserved across Tomcat restarts ?

Vikrant Pandit
Ranch Hand

Joined: Mar 27, 2006
Posts: 245
Hi Ranchers,

I am accessing my web application . Then I restarted tomcat . Then I again hit my web app from same web app.

And I am getting the same session with all attributes intact .


Does the Servlet Spec. talk about it ?

Thanks


Vikrant Pandit
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Tomcat using Session Persistence to help retreive a session after it shutdowns or crashes. It's also used within clustered environments. I think that it's enabled by default, but uou can disable it.
I don't think that it's part of the specification (except the part on distributed environments).


[My Blog]
All roads lead to JavaRanch
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Session preserved across Tomcat restarts ?
 
Similar Threads
Losing session attribute
JSTL EL language not resolving
Running as one process
Problem invoking a servlet directly from FireFox browser
Tomcat 7 maintaining more than one session