You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Weston M. Price (Created) (JIRA)" <ji...@apache.org> on 2012/01/17 17:03:39 UTC

[jira] [Created] (QPID-3765) Oracle TCK expects javax.jms.IllegalStateException when calling Session#commit() on closed connection/session

Oracle TCK expects javax.jms.IllegalStateException when calling Session#commit() on closed connection/session
-------------------------------------------------------------------------------------------------------------

                 Key: QPID-3765
                 URL: https://issues.apache.org/jira/browse/QPID-3765
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
    Affects Versions: 0.12
         Environment: All OS platforms/
            Reporter: Weston M. Price
             Fix For: 0.14


Another case of throwing the wrong exception in conformance to the JMS spec. Currently the AMQSession does not check for a closed connection prior to calling Session#commit. As a result, a TransportException is caught and rethrown as a JMSException. This breaks the TCK which expects a javax.jms.IllegalStateException.

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


[jira] [Resolved] (QPID-3765) Oracle TCK expects javax.jms.IllegalStateException when calling Session#commit() on closed connection/session

Posted by "Weston M. Price (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Weston M. Price resolved QPID-3765.
-----------------------------------

       Resolution: Duplicate
    Fix Version/s:     (was: 0.14)

Duplicate of QPID-3716.
                
> Oracle TCK expects javax.jms.IllegalStateException when calling Session#commit() on closed connection/session
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-3765
>                 URL: https://issues.apache.org/jira/browse/QPID-3765
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.12
>         Environment: All OS platforms/
>            Reporter: Weston M. Price
>
> Another case of throwing the wrong exception in conformance to the JMS spec. Currently the AMQSession does not check for a closed connection prior to calling Session#commit. As a result, a TransportException is caught and rethrown as a JMSException. This breaks the TCK which expects a javax.jms.IllegalStateException.

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