简体   繁体   中英

Connection reset error when I try to redeploy application to tomcat7 server

My WAR is not very large, just 15MB. I'm using tomcat7-maven-plugin for "redeploy" goal. + I'm using 80 port to request tomcat7. Configuration saved in pom.xml and has the next view:

      <plugin>
            <groupId>org.apache.tomcat.maven</groupId>
            <artifactId>tomcat7-maven-plugin</artifactId>
            <version>2.2</version>
            <configuration>       
                <url>http://<my ip>/manager</url>   
                <path>/<app name></path>                                
                <username>username</username>
                <password>password</password>
            </configuration>
        </plugin>   

Maven trying to deploy 4 times and then goes with next message:

Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:redeploy (default-cli) on project <app name>: Cannot invoke Tomcat manager: Connection reset

Earlier everything worked fine. Can it be server network connection issue? But for now all application that runs on tomcat working good. Or what else it can be?

EDIT: The reason was in lack of free space on device.

如果没有网络问题,那么问题的原因将显示在tomcat的日志中,您应该查看那里的真正原因。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM