Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- enter code[INFO] Deploying war to http://localhost:8080/CounterWebApp
- Uploading: http://localhost:8080/manager/text/deploy?path=%2FCounterWebApp
- 2500/5423 KB
- [INFO] I/O exception (java.net.SocketException) caught when processing request: Connection reset by peer: socket write error
- [INFO] Retrying request
- Uploading: http://localhost:8080/manager/text/deploy?path=%2FCounterWebApp
- 2436/5423 KB
- [INFO] I/O exception (java.net.SocketException) caught when processing request: Connection reset by peer: socket write error
- [INFO] Retrying request
- Uploading: http://localhost:8080/manager/text/deploy?path=%2FCounterWebApp
- 2500/5423 KB
- [INFO] I/O exception (java.net.SocketException) caught when processing request: Connection reset by peer: socket write error
- [INFO] Retrying request
- Uploading: http://localhost:8080/manager/text/deploy?path=%2FCounterWebApp
- 2436/5423 KB
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 11.588 s
- [INFO] Finished at: 2016-12-21T10:42:39+05:30
- [INFO] Final Memory: 18M/158M
- [INFO] ------------------------------------------------------------------------
- [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]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException here
- http://localhost:8080/manager/text/deploy?path=%2FCounterWebApp
- http://localhost:8080/manager/text/deploy?path=%2FCounterWebApp&war=file:F:documentsrepositorieswebcountertargetCounterWebApp.war
- <plugin>
- <groupId>org.apache.tomcat.maven</groupId>
- <artifactId>tomcat7-maven-plugin</artifactId>
- <version>2.2</version>
- <configuration>
- <path>/${project.build.finalName}</path>
- </configuration>
- </plugin>
- role rolename="manager-gui"/>
- <role rolename="manager-script"/>
- <role rolename="manager-jmx"/>
- <role rolename="manager-status"/>
- <role rolename="admin-gui"/>
- <role rolename="admin-script"/>
- <user username="test" password="test" roles="manager-gui,manager-script,manager-jmx,manager-status,admin-gui,admin-script"/>
- <server>
- <id>mytomcat</id>
- <username>test</username>
- <password>test</password>
- </server>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement