[infinispan-dev] JGroups 2.8 and Infinispan

Mircea Markus mircea.markus at jboss.com
Mon Jun 15 05:39:04 EDT 2009


The issue was the one pointed out.
Cause was that "java.net.preferIpv4Stack" does not get propagated  from  
property *parent\pom.xml* to the JVM running the tests.
This is rather strange, as all other property do get propagated 
correctly. Anyone encountered anything similar before?
The fix/hack was to enforce "java.net.preferIpv4Stack" programatical;y, 
in an @BeforeSuite. This sorted the problem.



Bela Ban wrote:
> What stack were you running on (IPv4 or IPv6) ? If it is IPv6 *only*, 
> then 230.8.8.8 is *not* a valid multicast address !
>
> If you have a dual stack, use -Djava.net.preferIpv4Stack=true to get 
> IPv4 (then the mcast_addr is correct) or 
> -Djava.net.preferIPv6Addresses=true and change the mcast_addr to a 
> valid IPv6 address
>
> Mircea Markus wrote:
>> It doesn't work on linux:
>> 2009-06-11 11:28:40,026 WARN  [org.jgroups.protocols.MPING] 
>> (pool-1-thread-4) could not bind to /228.10.10.15 (IPv4 address); 
>> make sure your mcast_addr is of the same type as the IP stack (IPv4 
>> or IPv6).
>> Will ignore mcast_addr, but this may lead to cross talking (see 
>> http://www.jboss.com/wiki/Edit.jsp?page=CrossTalking for details).
>> Exception was: java.net.BindException: Cannot assign requested address
>>
>> Here is my config:
>>   <MPING bind_addr="127.0.0.1" break_on_coord_rsp="true"
>>          mcast_addr="230.8.8.8" mcast_port="17890" ip_ttl="2"
>>          num_initial_members="3"/>
>>
>> Any ideas?
>




More information about the infinispan-dev mailing list