[xwiki-devs] jgroups update to 2.8 causes problem in the build on some machines
Hi, I'm getting this error when running the tests for xwiki-observation-remote: Caused by: java.lang.RuntimeException: the type of the stack (IPv6) and the user supplied addresses (IPv4) don't match: localhost/127.0.0.1. Use system props java.net.preferIPv4Stack or java.net.preferIPv6Addresses to pick the correct stack at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:108) at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:54) at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:453) at org.jgroups.JChannel.init(JChannel.java:1702) This thread explains the problem: http://old.nabble.com/Protocol-stack-issue-on-dual-stack-(IPv4-and-v6)-machi... This issue has been created to track the problem: https://jira.jboss.org/browse/JGRP-1152 I've tested with jgroups 2.10.0.Beta2 and it works fine. I've seen on http://jira.xwiki.org/jira/browse/XWIKI-4917 that jgroups 2.9 and above require JDK 6+. What do we do? Should we set the jgroups property to force ipv4 or ipv6? Thanks -Vincent
On Wed, Jul 21, 2010 at 14:42, Vincent Massol <[email protected]> wrote:
Hi,
I'm getting this error when running the tests for xwiki-observation-remote:
Caused by: java.lang.RuntimeException: the type of the stack (IPv6) and the user supplied addresses (IPv4) don't match: localhost/127.0.0.1. Use system props java.net.preferIPv4Stack or java.net.preferIPv6Addresses to pick the correct stack at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:108) at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:54) at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:453) at org.jgroups.JChannel.init(JChannel.java:1702)
This thread explains the problem: http://old.nabble.com/Protocol-stack-issue-on-dual-stack-(IPv4-and-v6)-machi...
This issue has been created to track the problem: https://jira.jboss.org/browse/JGRP-1152
I've tested with jgroups 2.10.0.Beta2 and it works fine.
I've seen on http://jira.xwiki.org/jira/browse/XWIKI-4917 that jgroups 2.9 and above require JDK 6+.
What do we do?
Should we set the jgroups property to force ipv4 or ipv6?
You mean in the test configuration ? That's probably the easiest. Or we decide to go to Java 6 ;)
Thanks -Vincent _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
On Mon, Aug 2, 2010 at 16:56, Thomas Mortagne <[email protected]> wrote:
On Wed, Jul 21, 2010 at 14:42, Vincent Massol <[email protected]> wrote:
Hi,
I'm getting this error when running the tests for xwiki-observation-remote:
Caused by: java.lang.RuntimeException: the type of the stack (IPv6) and the user supplied addresses (IPv4) don't match: localhost/127.0.0.1. Use system props java.net.preferIPv4Stack or java.net.preferIPv6Addresses to pick the correct stack at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:108) at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:54) at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:453) at org.jgroups.JChannel.init(JChannel.java:1702)
This thread explains the problem: http://old.nabble.com/Protocol-stack-issue-on-dual-stack-(IPv4-and-v6)-machi...
This issue has been created to track the problem: https://jira.jboss.org/browse/JGRP-1152
I've tested with jgroups 2.10.0.Beta2 and it works fine.
I've seen on http://jira.xwiki.org/jira/browse/XWIKI-4917 that jgroups 2.9 and above require JDK 6+.
What do we do?
Should we set the jgroups property to force ipv4 or ipv6?
You mean in the test configuration ? That's probably the easiest.
(I don't know how to do it but i'm pretty sure there is a way, that's the kind of things you usually can configure in jgroups)
Or we decide to go to Java 6 ;)
Thanks -Vincent _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
-- Thomas Mortagne
On Jul 21, 2010, at 2:42 PM, Vincent Massol wrote:
Hi,
I'm getting this error when running the tests for xwiki-observation-remote:
Caused by: java.lang.RuntimeException: the type of the stack (IPv6) and the user supplied addresses (IPv4) don't match: localhost/127.0.0.1. Use system props java.net.preferIPv4Stack or java.net.preferIPv6Addresses to pick the correct stack at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:108) at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:54) at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:453) at org.jgroups.JChannel.init(JChannel.java:1702)
This thread explains the problem: http://old.nabble.com/Protocol-stack-issue-on-dual-stack-(IPv4-and-v6)-machi...
This issue has been created to track the problem: https://jira.jboss.org/browse/JGRP-1152
I've tested with jgroups 2.10.0.Beta2 and it works fine.
I've seen on http://jira.xwiki.org/jira/browse/XWIKI-4917 that jgroups 2.9 and above require JDK 6+.
What do we do?
Should we set the jgroups property to force ipv4 or ipv6?
For the record I've forced ipv4 in the functional tests for cluster in svn rev 31963 Thanks -Vincent
participants (2)
-
Thomas Mortagne -
Vincent Massol