码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2016-10-01 17:08:42      阅读:158      评论:0      收藏:0      [点我收藏+]

标签:

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]

标签:

原文地址:http://www.cnblogs.com/xiluhua/p/5925988.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!