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 (Commented) (JIRA)" <ji...@apache.org> on 2012/01/06 22:06:39 UTC

[jira] [Commented] (QPID-3700) Qpid JCA Adapter incorrectly throws JMSException when calling commit on a closed connection, should be IllegalStateException

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

Robbie Gemmell commented on QPID-3700:
--------------------------------------

Just as an FYI (it looks like applying this patch is a good idea regardless), this may or may not be related to an issue I applied a patch from Alex for earlier today: QPID-3716. 

I made the mistake of trying to post this using my phone without a 3G signal, so I probably wont post anything else tonight because it has taken forever ;)
                
> Qpid JCA Adapter incorrectly throws JMSException when calling commit on a closed connection, should be IllegalStateException
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-3700
>                 URL: https://issues.apache.org/jira/browse/QPID-3700
>             Project: Qpid
>          Issue Type: Bug
>          Components: JCA
>    Affects Versions: 0.15
>         Environment: All OS platforms, current supported application server platforms for JCA adapter (EAP, Geronimo)
>            Reporter: Weston M. Price
>             Fix For: 0.15
>
>         Attachments: QPID-3700.patch
>
>
> Our internal TCK tests showed that the QPID JCA adapter incorrectly throws a JMSException when calling commit() on a connection that has already been closed. The TCK requires this to be an IllegalStateException. The JCA adapter should be modified to check the state of the underlying connection and throw the appropriate exception when required.

--
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