[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-545) Mod_cluster requires Advertise but Multicast interface is not available
Bogdan Sikora (JIRA)
issues at jboss.org
Mon Oct 24 04:59:00 EDT 2016
Bogdan Sikora created MODCLUSTER-545:
----------------------------------------
Summary: Mod_cluster requires Advertise but Multicast interface is not available
Key: MODCLUSTER-545
URL: https://issues.jboss.org/browse/MODCLUSTER-545
Project: mod_cluster
Issue Type: Bug
Affects Versions: 1.3.3.Final
Reporter: Bogdan Sikora
Assignee: Radoslav Husar
Priority: Minor
Attachments: standalone-ha.xml, standalone.xml
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:
{noformat}
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
{noformat}
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
{code}
// 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;
}
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the mod_cluster-issues
mailing list