[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Switching Off Tomcat Session Persistence  XML
Forum Index -> Deployment
Author Message
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5520
Offline

Hi,

Tomcat by default tries to persist sessions when being shut down: this means that your application needs to 100% work with serializable objects.

If your application is not fully serializable this will result in nice Tomcat error messages when Tomcat starts up.

Please check Tomcat's /tomcat/conf/context.xml file and change the parameter as follows:

Code:
 <Context>
     ...
     ...	
     <!-- Uncomment this to disable session persistence across Tomcat restarts -->
     <Manager pathname="" />
     ...
     ...	
 </Context>
 


This will switch off the session persistence management in Tomcat.

Björn

BTW: the layout editor and the demo applications are currently not checked to be serializable.

Björn Müller, CaptainCasa GmbH
schmuck

Power User
[Avatar]

Joined: 08/04/2008 16:27:16
Messages: 83
Offline

Thank you, the Exception Messages at startup are now away.

[ICQ]
 
Forum Index -> Deployment
Go to:   
Powered by JForum 2.1.6 © JForum Team