Uploaded image for project: 'EJB Client Library (AS7+)'
  1. EJB Client Library (AS7+)
  2. EJBCLIENT-115

EJBClientContext is left in broken state if there are no reconnection handlers + broken synchronization.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 2.1.0.Final
    • 2.1.0.Final
    • None

    Description

      If "attemptReconnections" method of the EJBClientContext is called when there are no reconnection handlers available (it's quite common situation) the component is being left in the "attemptingReconnect" state forever so no reconnection is possible even if new reconnection handlers will become available later.

      The second problem is that the array of reconnection handlers is not properly synchronized when it's copied to the new array.

      Pull request available.

      Attachments

        Activity

          People

            dlloyd@redhat.com David Lloyd
            slawomir.wojtasiak SÅ‚awomir Wojtasiak (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: