How to stop / undeploy a specific webapp locally in tomcat 8?

5k Views Asked by At

I can undeploy a specific app using command line or browser, but it requires credentials.

I have not set any credentials and also I am using same machine where tomcat webapp deployed (just paste war file to tomcat webapps), So I think it should not requires credentials.

I don't want to undelploy remotely, If we do it then its obvious to ask credentials.

So is there any way to sotp / undeploy a webapp?

I am using windows 7 and Tomcat 8.

2

There are 2 best solutions below

3
Jeff Miller On

If you've created the app with a war file, delete the war file.

1
Sander On

Not sure if I understand your question correctly, but why don't you just delete the war file from webapps? The webapp will then be undeployed.

Alternatively, you could use the Tomcat Manager. Tomcat Manager How-To