tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: redeploying war files
Date Wed, 10 Feb 2010 11:50:05 GMT
On 10/02/2010 10:39, Jan Van Besien wrote:
> Mark Thomas wrote:
>> If you redeploy a WAR file while Tomcat is stopped you need to deleted
>> the exploded directory as well.
> Ok, thanks for clarifying that for me.
> Can I safely delete the exploded files if tomcat is still running as
> well? In that case, I could do it always, without checking if tomcat is
> running.

I don't think so. I fairly sure Tomcat will delete the WAR too. Of
course, you could just try it an see...


> My use case is that we want to install war files packaged as rpms. The
> rpm simply puts the war file in the webapps directory, When a new rpm is
> installed, the rpm mechanism will remove the old war file and put a new
> war file in place, but will not cleanup the exploded directory. I can
> change my rpms to delete the exploded directory as well, but it would be
> more difficult if I have to add a script to my rpms to check if tomcat
> is running or not.
> thanks again,
> Jan Van Besien
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message