[
https://issues.jboss.org/browse/JGRP-1804?page=com.atlassian.jira.plugin....
]
Bela Ban updated JGRP-1804:
---------------------------
Description:
After an ifdown / if up cycle, sending of multicast messages over mcast_sock fails with an
IOException (no such device). Sending unicast datagram packets works.
SOLUTION:
Catch the IOException on the send and set the interface again
({{MulticastSocket.setInterface()}}). This was confirmed to work.
Perhaps count the number of failures and only reset the interface when the count exceeds a
threshold
was:
After an ifdown / if up cycle, sending of multicast messages over mcast_sock fails with an
IOException (no such device). Sending unicast datagram packets works.
SOLUTION:
Catch the IOException on the send and set the interface again
({{MulticastSocket.setInterface()}}). This was confirmed to work.
UDP: sending of multicasts fails after an ifdown / ifup cycle
-------------------------------------------------------------
Key: JGRP-1804
URL:
https://issues.jboss.org/browse/JGRP-1804
Project: JGroups
Issue Type: Bug
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 3.5
After an ifdown / if up cycle, sending of multicast messages over mcast_sock fails with
an IOException (no such device). Sending unicast datagram packets works.
SOLUTION:
Catch the IOException on the send and set the interface again
({{MulticastSocket.setInterface()}}). This was confirmed to work.
Perhaps count the number of failures and only reset the interface when the count exceeds
a threshold
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira