Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tomcat - want to clear cache of app being undeployed

Tags:

war

tomcat6

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.

like image 380
user93078 Avatar asked Nov 30 '14 09:11

user93078


1 Answers

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 !!!

like image 109
Bhaskara Avatar answered Oct 29 '22 16:10

Bhaskara