Tomcat Session persistence causing startup errors
From Foochal
[edit]
I use spring webflow and got this error when restarting the container
INFO: Deploying web application archive foo.war Jul 28, 2009 3:38:38 PM org.apache.catalina.session.StandardManager doLoad SEVERE: ClassNotFoundException while loading persisted sessions: java.lang.ClassNotFoundException: org.springframework.webflow.conversation.impl.ConversationContainer java.lang.ClassNotFoundException: org.springframework.webflow.conversation.impl.ConversationContainer
[edit]
Solution
I saw this snippet in the default context.xml which ships in tomcat/conf/
<!-- Uncomment this to disable session persistence across Tomcat restarts --> <!-- <Manager pathname="" /> -->
So, I uncommented it as follows:
<!-- Uncomment this to disable session persistence across Tomcat restarts -->
<Manager pathname="" />
And the error went away.

