Advertisement
Guest User

Untitled

a guest
Dec 20th, 2016
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.73 KB | None | 0 0
  1. enter code[INFO] Deploying war to http://localhost:8080/CounterWebApp
  2. Uploading: http://localhost:8080/manager/text/deploy?path=%2FCounterWebApp
  3. 2500/5423 KB
  4. [INFO] I/O exception (java.net.SocketException) caught when processing request: Connection reset by peer: socket write error
  5. [INFO] Retrying request
  6. Uploading: http://localhost:8080/manager/text/deploy?path=%2FCounterWebApp
  7. 2436/5423 KB
  8. [INFO] I/O exception (java.net.SocketException) caught when processing request: Connection reset by peer: socket write error
  9. [INFO] Retrying request
  10. Uploading: http://localhost:8080/manager/text/deploy?path=%2FCounterWebApp
  11. 2500/5423 KB
  12. [INFO] I/O exception (java.net.SocketException) caught when processing request: Connection reset by peer: socket write error
  13. [INFO] Retrying request
  14. Uploading: http://localhost:8080/manager/text/deploy?path=%2FCounterWebApp
  15. 2436/5423 KB
  16. [INFO] ------------------------------------------------------------------------
  17. [INFO] BUILD FAILURE
  18. [INFO] ------------------------------------------------------------------------
  19. [INFO] Total time: 11.588 s
  20. [INFO] Finished at: 2016-12-21T10:42:39+05:30
  21. [INFO] Final Memory: 18M/158M
  22. [INFO] ------------------------------------------------------------------------
  23. [ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:deploy (default-cli) on project CounterWebApp: Cannot invoke Tomcat manager: Connection reset by peer: socket write error -> [Help 1]
  24. [ERROR]
  25. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  26. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  27. [ERROR]
  28. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  29. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException here
  30.  
  31. http://localhost:8080/manager/text/deploy?path=%2FCounterWebApp
  32.  
  33. http://localhost:8080/manager/text/deploy?path=%2FCounterWebApp&war=file:F:documentsrepositorieswebcountertargetCounterWebApp.war
  34.  
  35. <plugin>
  36. <groupId>org.apache.tomcat.maven</groupId>
  37. <artifactId>tomcat7-maven-plugin</artifactId>
  38. <version>2.2</version>
  39. <configuration>
  40. <path>/${project.build.finalName}</path>
  41. </configuration>
  42. </plugin>
  43.  
  44. role rolename="manager-gui"/>
  45. <role rolename="manager-script"/>
  46. <role rolename="manager-jmx"/>
  47. <role rolename="manager-status"/>
  48. <role rolename="admin-gui"/>
  49. <role rolename="admin-script"/>
  50. <user username="test" password="test" roles="manager-gui,manager-script,manager-jmx,manager-status,admin-gui,admin-script"/>
  51.  
  52. <server>
  53. <id>mytomcat</id>
  54. <username>test</username>
  55. <password>test</password>
  56. </server>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement