Search code examples
tomcatcontextpath

How to shutdown individual application (context) in tomcat?


I deployed two applications appA & appB in tomcat.

So I see these in tomcat dir:

/tomcat/webapp/{appA,appB}

Is there a way to shutdown only one of the contexts without restarting tomcat ? I tried removing the directory and .war file, but it seems not to trigger tomcat.


Solution

  • In tomcat, deleting the war file should undeploy the application. Kindly take a look at the log files as they will reveal why the app did not get undeployed.