Yes, I'm using antiResourceLocking as shown in Tomcat 5.5\webapps\myapp\META-INF

<Context reloadable="true" antiJARLocking="true" antiResourceLocking="true">
<Manager className="org.apache.catalina.session.PersistentManager"
saveOnRestart="false" />
</Context>


I stopped Tomcat service normally (using Monitor Tomcat).
The following are the steps I performed,

1) Stopped Tomcat 5.5 service.
2) Delete all files in Tomcat 5.5\temp\.
3) Started Tomcat 5.5 service.
4) Tomcat created Tomcat 5.5\temp\0-myapp\.
5) Opened IE and load http://localhost:8080/myapp, then closed IE.
6) Stopped Tomcat 5.5 service.

7) Tomcat 5.5\temp\0-myapp still exists


On Tue, Apr 22, 2008 at 11:53 PM, Caldarale, Charles R
<[EMAIL PROTECTED]> wrote:
> > From: hezjing [mailto:[EMAIL PROTECTED]
> > Subject: Re: Directories in Tomcat 5.5\temp
> >
> > When I look further into these directories, they contain the same (and
> > only) JAR files of my web application,
> > e.g. Tomcat 5.5\temp\0-myapp\WEB-INF\lib\*.jar
> > Tomcat 5.5\temp\1-myapp\WEB-INF\lib\*.jar
>
> You must have antiResourceLocking set to "true" for those (or possibly
> all) webapps.  Doing so will indeed cause Tomcat to use the temp
> directory; however, with a normal Tomcat shutdown, these will be
> removed.  Are you terminating Tomcat abnormally, or are you just poking
> around while it's running?
>
>
>  - 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]
>
>



-- 

Hez

---------------------------------------------------------------------
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