Advertisement
Guest User

Untitled

a guest
Aug 12th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. <role rolename="manager-gui"/>
  2. <role rolename="manager-script"/>
  3. <user username="tomcat" password="tomcat" roles="manager-gui,manager-script"/>
  4.  
  5. $ curl -T "test.war" "http://tomcat:tomcat@<machine b>:8080/manager/text/deploy?path=/temp&update=true" -v
  6. * Trying machine B IP...
  7. * Connected to (machine B IP) port 8080 (#0)
  8. * Server auth using Basic with user 'tomcat'
  9. > PUT /manager/text/deploy?update=true HTTP/1.1
  10. > Host: <machine b>:8080
  11. > Authorization: Basic dG9tY2F0OnRvbWNhdA==
  12. > User-Agent: curl/7.47.0
  13. > Accept: */*
  14. > Content-Length: 374778991
  15. > Expect: 100-continue
  16. >
  17. < HTTP/1.1 404 Not Found
  18. < Server: Apache-Coyote/1.1
  19. < Content-Length: 0
  20. < Date: Sun, 13 Aug 2017 00:12:37 GMT
  21. * HTTP error before end of send, stop sending
  22. <
  23. * Closing connection 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement