Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-944

JChannel: automatic reconnection might fail

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 2.6.9, 2.8
    • None
    • None

      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

              rhn-engineering-bban Bela Ban
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: