-
-
Save bpelaia/4d30b33659408d253e67c9ccdd1e323c to your computer and use it in GitHub Desktop.
Revisions
-
pete911 revised this gist
Aug 15, 2013 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,5 +3,7 @@ curl --upload-file appplication-0.1-1.war "http://tomcat:tomcat@localhost:8080/m # undeploy curl "http://tomcat:tomcat@localhost:8080/manager/undeploy?path=/application-0.1-1" # ! tomcat7 uses /manager/text/undeploy and /manager/text/deploy paths # tomcat6-admin (debian) or tomcat6-admin-webapps (rhel) has to be installed # tomcat-users.xml has to be setup with user that has admin, manager and manager-script roles -
pete911 created this gist
Jul 30, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ # deploy under "path" context path curl --upload-file appplication-0.1-1.war "http://tomcat:tomcat@localhost:8080/manager/deploy?path=/application-0.1-1 # undeploy curl "http://tomcat:tomcat@localhost:8080/manager/undeploy?path=/application-0.1-1" # tomcat6-admin (debian) or tomcat6-admin-webapps (rhel) has to be installed # tomcat-users.xml has to be setup with user that has admin, manager and manager-script roles