[ https://issues.apache.org/jira/browse/TUSCANY-3581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13044224#comment-13044224 ]
ant elder commented on TUSCANY-3581: ------------------------------------ I use tuscany-domain-hazelcast instead of tuscany-endpoint-tribes which uses Hazelcast for the distribution - http://www.hazelcast.com/. I've not tried it on ununtu so will be interested to hear how you get on if you try it. If you include that in the classpath you then configure it with the domain URI. If your domain URI starts with 'uri:' (eg "uri:default" for a domain named 'default') then distributed operation is enabled using multicast and there are other config parameters you can use in the uri, eg uri:default?bind=9.167.218.229&wka=9.167.218.1:4321. There isn't much doc on this yet but if you say more about how you use Tuscany I can give you more help and point you at testcases demonstrating it. > Tribes MultiRegTestCase fails with IPV6 > ---------------------------------------- > > Key: TUSCANY-3581 > URL: https://issues.apache.org/jira/browse/TUSCANY-3581 > Project: Tuscany > Issue Type: Bug > Components: SCA Java Runtime > Affects Versions: Java-SCA-2.0-M5, Java-SCA-2.x > Reporter: Luciano Resende > Fix For: Java-SCA-1.x > > > Tribes MultiRegTestCase seems to be feiling when IPV6 is set (which seems to > be default with recent ubuntu server install) > ------------------------------------------------------------------------------- > Test set: org.apache.tuscany.sca.endpoint.tribes.MultiRegTestCase > ------------------------------------------------------------------------------- > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.182 sec <<< > FAILURE! > testReplication(org.apache.tuscany.sca.endpoint.tribes.MultiRegTestCase) > Time elapsed: 1.123 sec <<< ERROR! > java.lang.IllegalStateException: org.apache.catalina.tribes.ChannelException: > java.io.IOException: Invalid argument; No faulty members identified. > at > org.apache.tuscany.sca.endpoint.tribes.ReplicatedEndpointRegistry.start(ReplicatedEndpointRegistry.java:268) > at > org.apache.tuscany.sca.endpoint.tribes.MultiRegTestCase.testReplication(MultiRegTestCase.java:73) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) > at > org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) > at org.junit.runners.ParentRunner.run(ParentRunner.java:236) > at > org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) > at org.apache.maven.surefire.Surefire.run(Surefire.java:177) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) > at > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009) > Caused by: org.apache.catalina.tribes.ChannelException: java.io.IOException: > Invalid argument; No faulty members identified. > at > org.apache.catalina.tribes.group.ChannelCoordinator.internalStart(ChannelCoordinator.java:169) > at > org.apache.catalina.tribes.group.ChannelCoordinator.start(ChannelCoordinator.java:97) > at > org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:149) > at > org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor.start(MessageDispatchInterceptor.java:147) > at > org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:149) > at > org.apache.catalina.tribes.group.GroupChannel.start(GroupChannel.java:407) > at > org.apache.tuscany.sca.endpoint.tribes.ReplicatedEndpointRegistry.start(ReplicatedEndpointRegistry.java:266) > ... 28 more > Caused by: java.io.IOException: Invalid argument > at java.net.PlainDatagramSocketImpl.send(Native Method) > at java.net.DatagramSocket.send(DatagramSocket.java:625) > at > org.apache.catalina.tribes.membership.McastServiceImpl.send(McastServiceImpl.java:385) > at > org.apache.catalina.tribes.membership.McastServiceImpl.start(McastServiceImpl.java:244) > at > org.apache.catalina.tribes.membership.McastService.start(McastService.java:319) > at > org.apache.catalina.tribes.group.ChannelCoordinator.internalStart(ChannelCoordinator.java:158) > ... 34 more -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira