Re: [jgroups-dev] org.jgroups.protocols.UDP - failed sending message to null

Bela Ban <[email protected]> Thu, 23 Dec 2010 17:29:22 +0100
Newsgroups gmane.comp.java.javagroups.devel
Message-ID <[email protected]>

On 12/23/10 5:15 PM, David Alves wrote:
> Hi
> 	I'm seeing the exact same problem (using jgroups 2.11.0 GA).
> 	It took me a while to get to the actual exception (since the failed message error log is not very forthcoming), but I'm getting the Invalid Argument IOException.
> 	I'm on mac OSX (snow leopard).
> 	Here's some additional context:
> 	I'm using JGroups as a discovery service and cluster membership fw (discovery by UDP mcast so far).
> 	Initially JGroups behaves well, discovery works and initial state negotiation completes.
> 	The thing is that my app also uses Zookeeper and when Zookeeper starts jgroups starts failing with the error message I mentioned.


Hmm, Zookeeper might use the same address, e.g. for multicasting...

Can you provide me with the exact steps required to reproduce this ? 
Including configuring and running Zookeeper ?


> 	I've set the prefer Ipv4 sysprop.


In 2.1 (and before), you don't need to. If you don't set 
java.net.preferIPv4Stack=true, you'll in most cases run with IPv6 addresses


> 	Any ideas as to why this is happening and what can I do to solve the problem?
>
> Thanks
> David
> PS: I know this message probably should go on the user mailing list but the original one was already here so...


No problem,



Bela Ban
Lead JGroups / Clustering Team
JBoss

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Javagroups-development mailing list