SHARE
TWEET

fix wildfly port conflict

coladict Feb 16th, 2017 8 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/hibernate-core/src/test/resources/arquillian.xml b/hibernate-core/src/test/resources/arquillian.xml
  2. index 5bf4e08..6787895 100644
  3. --- a/hibernate-core/src/test/resources/arquillian.xml
  4. +++ b/hibernate-core/src/test/resources/arquillian.xml
  5. @@ -23,14 +23,15 @@
  6.          <container qualifier="container.active-1" mode="suite" default="true">
  7.              <configuration>
  8.                  <property name="jbossHome">${wildFlyInstallDir}</property>
  9. +               <property name="managementPort">10127</property>
  10.                  <property name="javaVmArguments">
  11.                      -Djava.net.preferIPv4Stack=true
  12.                      -Djgroups.bind_addr=127.0.0.1
  13.                      -Djboss.socket.binding.port-offset=137
  14.  
  15. -                    <!-- Uncomment for Remote debugging Wildfly -->
  16. -                    <!-- -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=y-->
  17.                  </property>
  18. +                    <!-- Uncomment and move to javaVmArguments for Remote debugging Wildfly -->
  19. +                    <!-- -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=y-->
  20.              </configuration>
  21.          </container>
  22.      </group>
  23. diff --git a/hibernate-orm-modules/src/test/resources/arquillian.xml b/hibernate-orm-modules/src/test/resources/arquillian.xml
  24. index f16663a..8fc1810 100644
  25. --- a/hibernate-orm-modules/src/test/resources/arquillian.xml
  26. +++ b/hibernate-orm-modules/src/test/resources/arquillian.xml
  27. @@ -23,16 +23,17 @@
  28.          <container qualifier="container.active-1" mode="suite" default="true">
  29.              <configuration>
  30.                  <property name="jbossHome">${wildFlyInstallDir}</property>
  31. +               <property name="managementPort">10127</property>
  32.                  <property name="javaVmArguments">
  33.                      -Djava.net.preferIPv4Stack=true
  34.                      -Djgroups.bind_addr=127.0.0.1
  35.                      -Djboss.socket.binding.port-offset=137
  36.  
  37. -                    <!-- Uncomment for Remote debugging Wildfly -->
  38. +                </property>
  39. +                    <!-- Uncomment and move to javaVmArguments for Remote debugging Wildfly -->
  40.                      <!--
  41.                      -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=y
  42.                      -->
  43. -                </property>
  44.              </configuration>
  45.          </container>
  46.      </group>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top