Perhaps I did not explain well.

This is production. The file is jq.war. I copy jq.war to
{catalina_home}/webapps and autodeploy tries to remove the jq directory,
before it explodes the jq.war. It fails to do that and leaves behind
webapps/jq/jq.log. I have to stop tomcat, remove that log file, restart
tomcat. I thought that autodeploy would take care of that, but I guess
not.

Thanks,
Rick



-----Original Message-----
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 15, 2006 1:35 PM
To: Tomcat Users List
Subject: RE: Autodeploy fails

> From: Rick Dettwyler [mailto:[EMAIL PROTECTED] 
> Subject: Autodeploy fails
> 
> If I "touch" that same WAR file, the autodeploy will fail,
> as it leaves the webapps/[appname]/[appname].log file

Is your webapp writing to its own deployment directory?  If so, that's
really a bad idea.  What would happen if the .war were not expanded?

In any event, you could put in a listener for your webapp, and have it
close and remove the extra file you created.

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


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