[jboss-jira] [JBoss JIRA] Commented: (JGRP-1156) Recreate socket on NoRouteToHost exception
Bela Ban (JIRA)
jira-events at lists.jboss.org
Thu Apr 22 06:10:11 EDT 2010
[ https://jira.jboss.org/jira/browse/JGRP-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12526985#action_12526985 ]
Bela Ban commented on JGRP-1156:
--------------------------------
Apparently, this can be reproduced on Windows only, by disabling and later re-enabling the network interface, see https://jira.jboss.org/jira/browse/JGRP-451 for details
> Recreate socket on NoRouteToHost exception
> ------------------------------------------
>
> Key: JGRP-1156
> URL: https://jira.jboss.org/jira/browse/JGRP-1156
> Project: JGroups
> Issue Type: Feature Request
> Reporter: Bela Ban
> Assignee: Bela Ban
> Fix For: 2.10
>
>
> I've got a customer [1] that started receiving the following error during multicast sends (from MERGE in this particular log) until JBoss was restarted:
> [Email Dennis]
> [org.jgroups.protocols.UDP] [ERROR] failed sending message to null (0 bytes)
> java.net.NoRouteToHostException: No route to host: Datagram send failed
> I've had one other case with this symptom. In that case, they had bonded network interfaces and were testing failover by bringing one side of it down.
> It looks to me like something is screwed up at the OS level that doesn't get fixed until JBoss is restarted (or the socket is recreated?).
> Is there anything we could do about this at the JGroups level? The customer has asked why we don't recreate the socket when this exception happens. But that doesn't seem like a good solution to me since there's nothing about a NoRouteToHostException that should indicate the socket needs recreated.
> -Dennis
> [End email Dennis]
> One thing we could investigate is to close and recreate a socket when such an exception is encountered. Possibly other exceptions as well...
> This would affect the transports (UDP and TCP), plus some of the protocols which use sockets, e.g. MPING, FD_SOCK, STREAMING_STATE_TRANSFER etc...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list