> From: Martin Gainty [mailto:[EMAIL PROTECTED] 
> Subject: Re: [Axis2] FileNotFoundException (SESSIONS.ser) 
> during tomcat shutdown
> 
> The serialised session files are kept in the temp folder

No, they're kept in Tomcat's work directory, which is normally (and
definitely in Michele's case) $CATALINA_HOME/work/Catalina/localhost.
That directory is not being deleted, but a specific one underneath it
(axis2) is disappearing, while Tomcat is running.  Normally, only an
undeployment will get rid of a specific webapp's work sub-directory, so
I suspect something in the webapp is deleting it, perhaps by confusing
"temp" with "work".

> so starting tomcat with 
> tomcat.work.dir=NewFolderThatWontBeDeleted will solve the problem

Searching the source code and experimentation show that neither Tomcat
5.5 nor 6.0 recognize that system property.  If you think it does,
please point out where in the source code it happens.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to