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.

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: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to