Tomcat
Tips to deploy/undeploy tomcat WAR application.
User used should give access to the manager-script group in tomcat-users.xml:
<user username="tomcat" password="tomcat" roles="manager-gui,admin-gui,manager-script"/>
- deploy WAR from command line:
wget --http-user=tomcat --http-password=tomcat "http://localhost:8080/manager/text/deploy?war=file:/some/path/SomeWar.war&path=/SomeWar" -O -
- Undeploy:
wget --http-user=tomcat --http-password=tomcat "http://localhost:8080/manager/text/undeploy?path=/SomeWar" -O -