Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-6336

[0-8..0-91] State of connection can be corrupted by subsequent reconnection attempts

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.12, 0.18, 0.22, 0.30
    • Fix Version/s: 0.31
    • Component/s: JMS AMQP 0-x
    • Labels:
      None

      Description

      If the connection url is configured to retry failed connections, a race in the 0-8..0-91 path means that it is possible for the internal state of the connection to become corrupt. This can cause the JMS Connection object to believe it is closed when it is not, and the underlying protocol handler object may emit a invalid sequence of AMQ connection frames during the re-connect attempts.

      The problem does not occur if the connection (or reconnection) attempt fails owing to a TCP connection refused, but does occur if the connection failure occurs later i.e virtual host not active or password error. For this reason, this problem is most likely to affect users of the Java Broker utilising the BDB-HA option where failover is used to follow the active virtual host.

      The 0-10 path is unaffected.

        Attachments

          Activity

            People

            • Assignee:
              kwall Keith Wall
              Reporter:
              kwall Keith Wall
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: