zoukankan      html  css  js  c++  java
  • 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>
  • 相关阅读:
    下拉框插件开发 (一)
    工厂模式 抽象工厂模式
    闭包 构建函数 简单工厂模式
    js继承
    浅谈js观察者模式
    浅谈js单例模式
    localstorage本地存储
    Vi 配置文件
    Vi Command
    我的Firs博客
  • 原文地址:https://www.cnblogs.com/xiluhua/p/5925988.html
Copyright © 2011-2022 走看看