Tomcat - want to clear cache of app being undeployed

醉酒当歌 提交于 2019-12-01 03:40:43

问题


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.


回答1:


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!