Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Avoid debug config when stopping cargo
Browse files Browse the repository at this point in the history
This should prevent the following error at the end of test run:

[INFO] [talledLocalContainer] FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
[WARNING] [talledLocalContainer] ERROR: transport error 202: bind failed: Address already in use
[WARNING] [talledLocalContainer] ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
[WARNING] [talledLocalContainer] JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:741]
  • Loading branch information
seanf committed Feb 18, 2015
1 parent fd4300e commit 37c3344
Showing 1 changed file with 27 additions and 6 deletions.
33 changes: 27 additions & 6 deletions functional-test/pom.xml
Expand Up @@ -587,6 +587,33 @@
<goals>
<goal>start</goal>
</goals>
<configuration>
<configuration>
<properties>
<cargo.jvmargs>
<!-- NB: JDom parser doesn't like comments starting with '-' -->
-XX:PermSize=512m -XX:MaxPermSize=1024
-XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled
${cargo.debug.jvm.args}
</cargo.jvmargs>
</properties>
</configuration>
</configuration>
</execution>
<execution>
<id>default-cli</id>
<configuration>
<configuration>
<properties>
<cargo.jvmargs>
<!-- NB: JDom parser doesn't like comments starting with '-' -->
-XX:PermSize=512m -XX:MaxPermSize=1024
-XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled
${cargo.debug.jvm.args}
</cargo.jvmargs>
</properties>
</configuration>
</configuration>
</execution>
<execution>
<id>cargo-stop</id>
Expand Down Expand Up @@ -912,12 +939,6 @@

<properties>
<cargo.jboss.configuration>standalone</cargo.jboss.configuration>
<cargo.jvmargs>
<!-- NB: JDom parser doesn't like comments starting with '-' -->
-XX:PermSize=512m -XX:MaxPermSize=1024
-XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled
${cargo.debug.jvm.args}
</cargo.jvmargs>
<cargo.port.offset>${cargo.port.offset}</cargo.port.offset>
<cargo.jboss.ajp.port>8109</cargo.jboss.ajp.port>
</properties>
Expand Down

0 comments on commit 37c3344

Please sign in to comment.