[jboss-jira] [JBoss JIRA] Closed: (JBMESSAGING-1714) Creating JMS connection with invalid user credentials leaves resources on the client

Jeff Mesnil (JIRA) jira-events at lists.jboss.org
Mon Aug 17 10:39:26 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBMESSAGING-1714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Mesnil closed JBMESSAGING-1714.
------------------------------------

    Resolution: Done


fixed in the trunk (see changelog)

> Creating JMS connection with invalid user credentials leaves resources on the client
> ------------------------------------------------------------------------------------
>
>                 Key: JBMESSAGING-1714
>                 URL: https://jira.jboss.org/jira/browse/JBMESSAGING-1714
>             Project: JBoss Messaging
>          Issue Type: Bug
>          Components: JMS Facade
>    Affects Versions: 2.0.0.beta4
>            Reporter: Jeff Mesnil
>            Assignee: Jeff Mesnil
>             Fix For: 2.0.0.beta5
>
>
> To create a JMS connection, JBossConnectionFactory creates a JBossConnection instance, calls authorize() on it and returns the connection.
> However, if the authorization fails, a JMS Exception is thrown and the connection is not properly closed leaving resources on the client.
> In case of authorization failure, the connection instance must be closed before rethrowing the exception to the client.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list