I've got Tomcat6 running on my Ubuntu server 14.04 minimal platform and had deployed a .war file.
However, things did not go right during the initial setup of the app and I'm trying to undeploy the app from tomcat manager. Unfortunately when I re-deploy the app and start it, the previous install comes up.
How can I get a fresh install of the app? (I've also tried "reload" but no luck)
Thanks in anticipation.
In Tomcat you have a folder called "work".
Go to <TOMCAT_HOME>/work/Catalina/<HOSTNAME>
In this location you will find your application. Delete the application from this location and try to redeploy your application and give a try !!!
来源:https://stackoverflow.com/questions/27212035/tomcat-want-to-clear-cache-of-app-being-undeployed