Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <role rolename="manager-gui"/>
- <role rolename="manager-script"/>
- <user username="tomcat" password="tomcat" roles="manager-gui,manager-script"/>
- $ curl -T "test.war" "http://tomcat:tomcat@<machine b>:8080/manager/text/deploy?path=/temp&update=true" -v
- * Trying machine B IP...
- * Connected to (machine B IP) port 8080 (#0)
- * Server auth using Basic with user 'tomcat'
- > PUT /manager/text/deploy?update=true HTTP/1.1
- > Host: <machine b>:8080
- > Authorization: Basic dG9tY2F0OnRvbWNhdA==
- > User-Agent: curl/7.47.0
- > Accept: */*
- > Content-Length: 374778991
- > Expect: 100-continue
- >
- < HTTP/1.1 404 Not Found
- < Server: Apache-Coyote/1.1
- < Content-Length: 0
- < Date: Sun, 13 Aug 2017 00:12:37 GMT
- * HTTP error before end of send, stop sending
- <
- * Closing connection 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement