[jboss-dev-forums] [Design of Clustering on JBoss (Clusters/JBoss)] - Re: Strange clustering behaviour when running testsuite offl

adrian@jboss.org do-not-reply at jboss.com
Mon Nov 12 14:27:08 EST 2007


I've found. It is the fact that is using the IPV6 stack.

So I guess either the JDK or JGroups isn't handling 127.0.0.1 as loopback for IPV6?

The following patch solves the problem:


  | [ejort at warjort testsuite]$ svn diff
  | Index: imports/server-config.xml
  | ===================================================================
  | --- imports/server-config.xml   (revision 66950)
  | +++ imports/server-config.xml   (working copy)
  | @@ -87,6 +87,7 @@
  |           <jvmarg value="-XX:MaxPermSize=512m" />
  |           <jvmarg value="-Xmx512m" />
  |  -->
  | +         <sysproperty key="java.net.preferIPv4Stack" value="true" />
  |           <sysproperty key="java.endorsed.dirs" value="${jboss.dist}/lib/endorsed" />
  |           <sysproperty key="jgroups.udp.ip_ttl" value="${jbosstest.udp.ip_ttl}" />
  |        </server>
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103844#4103844

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103844



More information about the jboss-dev-forums mailing list