Tomcat does not persist Session during restart

Posted by mabuzer on Stack Overflow See other posts from Stack Overflow or by mabuzer
Published on 2010-05-15T08:10:09Z Indexed on 2010/05/17 9:10 UTC
Read the original article Hit count: 215

Filed under:
|
|
|

How to force Tomcat to serialize Session so that the user is kept logged in when Tomcat has restarted? Right now the user has to login again everytime.

Added the following lines into web-app context.xml:

<Manager className="org.apache.catalina.session.PersistentManager">
     <Store className="org.apache.catalina.session.FileStore"/>
</Manager>

but still I see login page after Tomcat restart, I use Tomcat 6.0.24

© Stack Overflow or respective owner

Related posts about java

Related posts about tomcat