tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown
Date Thu, 13 Dec 2007 00:30:49 GMT
> From: Martin Gainty [mailto:mgainty@hotmail.com] 
> 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message