Uninstall file from Apache Tomcat Web Server

Posted by sttaq on Server Fault See other posts from Server Fault or by sttaq
Published on 2012-03-30T16:11:30Z Indexed on 2012/03/30 17:32 UTC
Read the original article Hit count: 169

Filed under:

I have a website deployed on an apache web server. I am using a windows installer to deploy and un-deploy this website from the server. During the uninstall I am just removing the .war from the webapp directory of the tomcat. Now when I do this the tomcat automatically removes all the folders created when it unpacked the war file. But it takes some time to remove those folders.

I want to know if there is a way to force tomcat to remove the folder immediately by communicating to it with some external tool eg a script, xml-rpc etc?

© Server Fault or respective owner

Related posts about software-deployment