-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
11.0.0.Final
-
None
This error message has probably no impact to mod-cluster functionality as tests successfully finished even with this message in workers log. Balancer (standalone.xml) has no error messages.
standalone-ha.xml (worker)
standalone.xml (balancer)
Issue:
2016-10-24 03:51:18,393 ERROR [org.wildfly.extension.mod_cluster] (ServerService Thread Pool -- 64) WFLYMODCLS0004: Mod_cluster requires Advertise but Multicast interface is not available
Environment:
Windows machine with Tunnel adapter Teredo Tunneling Pseudo-Interface
Scenario:
1. Start Eap (standalone-ha.xml) on Ipv6 address with prefix 2001 (Teredo Tunneling)
2. Look for Mod_cluster Advertising error
Error from ContainerEventHandlerService class
// Read node to set configuration. if (config.getAdvertise()) { // There should be a socket-binding.... Well no it needs an advertise socket :-( final SocketBinding binding = this.binding.getOptionalValue(); if (binding != null) { config.setAdvertiseSocketAddress(binding.getMulticastSocketAddress()); config.setAdvertiseInterface(binding.getSocketAddress().getAddress()); if (!isMulticastEnabled(bindingManager.getValue().getDefaultInterfaceBinding().getNetworkInterfaces())) { ROOT_LOGGER.multicastInterfaceNotAvailable(); } } } ... private boolean isMulticastEnabled(Collection<NetworkInterface> ifaces) { for (NetworkInterface iface : ifaces) { try { if (iface.isUp() && (iface.supportsMulticast() || iface.isLoopback())) { return true; } } catch (SocketException e) { // Ignore } } return false; }