You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Troy Collinsworth (JIRA)" <ji...@apache.org> on 2013/09/27 22:58:12 UTC

[jira] [Commented] (QPID-5190) Client consistently locks up in both producer.send and connection.close if broker fails at the right moment

    [ https://issues.apache.org/jira/browse/QPID-5190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13780390#comment-13780390 ] 

Troy Collinsworth commented on QPID-5190:
-----------------------------------------

With Qpid 0.24 with fixes to bubble up connection exceptions, the connection exception listener also blocks in connection.close. This does not happen in Qpid 0.22 because the connection exception listener never gets called.
                
> Client consistently locks up in both producer.send and connection.close if broker fails at the right moment
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-5190
>                 URL: https://issues.apache.org/jira/browse/QPID-5190
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.24
>         Environment: Qpid 0.22 & 0.24, Java 1.7 x64, Ubuntu Desktop Linux 12.04 LTS x64, Apache ActiveMQ 5.8.0
>            Reporter: Troy Collinsworth
>            Priority: Critical
>         Attachments: qpid-0.22-blocking.jstack, qpid-proto.tar.gz
>
>
> If the broker is killed when the thread is between connection.createSession and session.createProducer, the createProducer thread will block. The connection exception listener connection.close call also blocks.
> This has been consistently observed. Example code will be attached.
> ActiveMQ is running in console mode and is being killed with Ctrl+c

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org