Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.0.0.M2
-
Fix Version/s: 1.0.1
-
Labels:None
Description
This is the exception:
Caused by: java.net.SocketException: bad argument for IP_MULTICAST_IF: address not bound to any interface
at java.net.PlainDatagramSocketImpl.socketSetOption(Native Method)
at java.net.PlainDatagramSocketImpl.setOption(PlainDatagramSocketImpl.java:299)
at java.net.MulticastSocket.setInterface(MulticastSocket.java:420)
at com.gemstone.org.jgroups.protocols.UDP.createSockets(UDP.java:669)
at com.gemstone.org.jgroups.protocols.UDP.start(UDP.java:535)
Gemfire needs a way to find the other caches in the network. Either multicast or a locator process can be used for that. Locator is the recommended approach so that would be the preferred solution.
A quick workaround is to use "-Djava.net.preferIPv4Stack=true".