- Sign into your Tomcat Manager App.
- Next to the application you want to undeploy, select Undeploy.
Note: Once the application is undeployed, the files that produce the application will be deleted from the Tomcat server.
- OK should be displayed, and your Application should no longer be listed.
- Remove the directory that produces the application.
[john.doe@server1 ~]# rm -R $TOMCAT_HOME/webapps/MyWebArchive/