cargo failed to finish deploying within the timeout period [120000]

Posted xiluhua

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了cargo failed to finish deploying within the timeout period [120000]相关的知识,希望对你有一定的参考价值。

cargo插件,报错:failed to finish deploying within the timeout period [120000]

解决方法:配置timeout为0

 1 <plugin>
 2     <groupId>org.codehaus.cargo</groupId>
 3     <artifactId>cargo-maven2-plugin</artifactId>
 4     <version>1.4.9</version>
 5     <configuration>
 6         <container>
 7             <containerId>tomcat6x</containerId>
 8             <timeout>0</timeout>
 9             <type>remote</type>
10         </container>
11         <configuration>
12             <type>runtime</type>
13             <properties>
14                 <cargo.remote.username>tomcat</cargo.remote.username>
15                 <cargo.remote.password>tomcat</cargo.remote.password>
16                 
17                 <!-- tomcat7 
18                 <cargo.remote.url>http://localhost:8080/manager/text</cargo.remote.url>-->
19                 <!-- tomcat6 -->
20                 <cargo.remote.uri>http://localhost:8080/manager</cargo.remote.uri>
21                 
22             </properties>
23         </configuration>
24     </configuration>
25 </plugin>

 

以上是关于cargo failed to finish deploying within the timeout period [120000]的主要内容,如果未能解决你的问题,请参考以下文章

错误记录发布 Flutter 插件包报错 ( Failed to upload the package.pub finished with exit code 1 )

php Noçõesdeinformáticaparao cargo de auditor financial aplicada pela FGV

运行maven项目时出现一下问题:“ Failed to execute goal org.apache.maven.plugins“

JBOSS启动报错Failed to start service jboss.web.deployment.default-host.

VC6.0 出现failed to (or don't know how to) build 原因及解决方法

实力踩坑:Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedde