<div dir="ltr">Maybe I'm the only one who did not know this but Tomcat has Session Persistence ENABLED per default. <div><br></div><div>This means that during shutdown, all sessions get serialized into the file </div><div>work/Catalina/localhost/_/SESSIONS.ser<br></div><div><br></div><div>and get restored into memory at startup.</div><div><br></div><div>If you run an application with thousands of sessions, shutdown and startup time can become quite long.</div><div><br></div><div>To disable session persistence, just uncomment this line in conf/context.xml :</div><div><div><Manager pathname="" /></div></div><div><br></div><div><br></div><div>Cheers, Balz</div></div>