cargo-maven2-plugin调试超时

时间:2017-02-13 13:16:01

标签: maven tomcat cargo

我正在尝试在cargo-maven2-plugin容器中调试WAR。

<configuration>
                <type>standalone</type>
                <home>${project.build.directory}/tomcat8x/apache-tomcat-${tomcat.version}/container</home>
                <properties>
                    <cargo.hostname>${cargo.host}</cargo.hostname>
                    <cargo.servlet.port>${cargo.port}</cargo.servlet.port>
                    <!--<cargo.logging>high</cargo.logging>-->
                    <cargo.start.jvmargs>
                    -Xdebug
                    -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
                    -Xnoagent
                    -Djava.compiler=NONE
                  </cargo.start.jvmargs>
                </properties>

上面是容器的调试部分......

我可以连接到套接字并在我的代码中的正确位置中断,但它在6000ms之后超时并且在我可以逐步完成我需要查看的部分之前完成。有没有办法防止这种情况?

...栈跟踪

java.util.concurrent.TimeoutException: Request timed out to localhost/127.0.0.1:8080 of 60000 ms
at com.ning.http.client.providers.netty.request.timeout.TimeoutTimerTask.expire(TimeoutTimerTask.java:47) [async-http-client-1.9.30.jar:na]
at com.ning.http.client.providers.netty.request.timeout.RequestTimeoutTimerTask.run(RequestTimeoutTimerTask.java:48) [async-http-client-1.9.30.jar:na]
at org.jboss.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:556) [netty-3.10.4.Final.jar:na]
at org.jboss.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:632) [netty-3.10.4.Final.jar:na]
at org.jboss.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:369) [netty-3.10.4.Final.jar:na]
at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) [netty-3.10.4.Final.jar:na]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_111]

0 个答案:

没有答案
相关问题