[jboss-jira] [JBoss JIRA] Commented: (JBMESSAGING-1268) Work around for connection validator hanging when cable is pulled
Tim Fox (JIRA)
jira-events at lists.jboss.org
Thu Mar 27 18:22:40 EDT 2008
[ http://jira.jboss.com/jira/browse/JBMESSAGING-1268?page=comments#action_12405305 ]
Tim Fox commented on JBMESSAGING-1268:
--------------------------------------
Also we should consider (from Ron):
you can configure the ConnectionValidator timeout separately by associating a value with ConnectionValidator.VALIDATOR_PING_TIMEOUT (actual value "validatorPingTimeout") in a metadata map and calling
public void addConnectionListener(ConnectionListener listener, Map metadata)
instead of
public void addConnectionListener(ConnectionListener listener)
from JMSRemotingConnection.
> Work around for connection validator hanging when cable is pulled
> -----------------------------------------------------------------
>
> Key: JBMESSAGING-1268
> URL: http://jira.jboss.com/jira/browse/JBMESSAGING-1268
> Project: JBoss Messaging
> Issue Type: Task
> Reporter: Tim Fox
> Assigned To: Tim Fox
> Fix For: 1.4.0.SP3.CP02, 1.4.1.CR1
>
>
> If ethernet cable between client and server is pulled, or server "disappears" - e.g. whole server box fails, then connection validator will hang on the socket write until socket timeout is reached.
> JBM uses socket timeout of 0 (infinite) so will hang potentially for ever, and client side exception listener will never get called.
> Workaround for now is to make the socket timeout to some lower value e.g. 10 seconds.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list