[jboss-jira] [JBoss JIRA] Created: (JGRP-944) JChannel: automatic reconnection might fail

Bela Ban (JIRA) jira-events at lists.jboss.org
Mon Mar 30 07:30:22 EDT 2009


JChannel: automatic reconnection might fail
-------------------------------------------

                 Key: JGRP-944
                 URL: https://jira.jboss.org/jira/browse/JGRP-944
             Project: JGroups
          Issue Type: Task
            Reporter: Bela Ban
            Assignee: Bela Ban
             Fix For: 2.6.9, 2.8


Automtatic reconnection is done via the JChannel.CloserThread thread. It essentially closes the channel, then re-opens it and then loops trying to reconnect.
However, if there's an exception (e.g. closing or re-opening the channel), the thread terminates and doesn't reconnect the channel, therefore the cluster is not joined.
SOLUTION: wrap the close, open and reconnect attempts in try-catch clauses, so exceptions can be handled

-- 
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