Using Tomcat
Session Persistence
Tomcat has Session Persistence ENABLED per default.
This means that during shutdown, all sessions get serialized into the file
work/Catalina/localhost/_/SESSIONS.ser
and get restored into memory at startup.
If you run an application with thousands of sessions, shutdown and startup time can become quite long.
To disable session persistence, just uncomment this line in conf/context.xml
:
<Manager pathname=""/>
Your comments are much appreciated
Is the content of this page unclear or you think it could be improved? Please add a comment and we will try to improve it accordingly.