You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (Updated) (JIRA)" <ji...@apache.org> on 2012/02/26 22:18:48 UTC

[jira] [Updated] (QPID-3259) Deadlock on Java client side while closing session when topic operation is unauthorized

     [ https://issues.apache.org/jira/browse/QPID-3259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbie Gemmell updated QPID-3259:
---------------------------------

    Component/s: Java Client
    
> Deadlock on Java client side while closing session when topic operation is unauthorized
> ---------------------------------------------------------------------------------------
>
>                 Key: QPID-3259
>                 URL: https://issues.apache.org/jira/browse/QPID-3259
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>         Environment: Java client runs into a deadlock when it tries to close session when a topic operation (publish/subscribe) is not authorized.
> In this situation AMQConnection (in exceptionReceived) tries to grab failover mutext and runs into a lock. 
> The other issue in this case is that AMQException.isHardError always returns true and hence the connection tried to close all sessions inside exceptionReceived method. I think there is something wrong here as an unauthorized operation in one session should not lead to closing all other sessions.
>            Reporter: Danushka Menikkumbura
>            Assignee: Rajith Attapattu
>            Priority: Critical
>         Attachments: QPID-3259-SampleClient, QPID-3259-ThreadDump
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org