Tomcat does not persist UserPrinciple 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/21 19:40 UTC
Read the original article Hit count: 215

Filed under:
|
|
|

How to force Tomcat to serialize UserPrinciple 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.26

© Stack Overflow or respective owner

Related posts about java

Related posts about tomcat