[jboss-jira] [JBoss JIRA] (JGRP-1804) UDP: sending of multicasts fails after an ifdown / ifup cycle
Bela Ban (JIRA)
issues at jboss.org
Fri Mar 7 12:42:33 EST 2014
[ https://issues.jboss.org/browse/JGRP-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bela Ban resolved JGRP-1804.
----------------------------
Resolution: Done
> 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 / receiving of multicast messages over mcast_sock fails with an IOException (no such device). Sending / receiving unicast datagram packets works.
> SOLUTION:
> Catch the IOException on the send/receive 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
More information about the jboss-jira
mailing list