[infinispan-dev] JGroups 2.8 and Infinispan

Bela Ban bban at redhat.com
Thu Jun 11 12:29:18 EDT 2009


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?

-- 
Bela Ban
Lead JGroups / Clustering Team
JBoss - a division of Red Hat




More information about the infinispan-dev mailing list