I\'m writing a shell script to auto deploy/undeploy using the tomcat manager.
Following the instructions on http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.htm
Improving Jet answer, this works for me in tomcat 8, java 64 bits.
This was what I execute:
curl -v -u some_user:some_password -T /../my_app.war 'http://127.0.0.1:tomcat_port/manager/text/deploy?path=/my_app&update=true'
This will work if we configure tomcat users in :
/.../.../apache-tomcat-8.5.0_001/conf/tomcat-users.xml
with:
Restart tomcat and it will be ready to deploy wars from remote clients like curl, jenkins, travis, etc