[
https://issues.apache.org/jira/browse/QPID-6336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14293493#comment-14293493
]
ASF subversion and git services commented on QPID-6336:
-------------------------------------------------------
Commit 1655034 from [~k-wall] in branch 'qpid/trunk'
[ https://svn.apache.org/r1655034 ]
QPID-6336: [Java Broker] Change 0-8..0-91 path to await the receiver being
closed before continuing with the next connection attempt
Based on work by Oleksandr Rudyy <[email protected]>
> [0-8..0-91] State of connection can be corrupted by subsequent reconnection
> attempts
> ------------------------------------------------------------------------------------
>
> Key: QPID-6336
> URL: https://issues.apache.org/jira/browse/QPID-6336
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Affects Versions: 0.12, 0.18, 0.22, 0.30
> Reporter: Keith Wall
> Assignee: Keith Wall
>
> 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.
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]