Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-796

Calling commit on closed JMS session should throw javax.jms.IllegalStateException

XMLWordPrintable

      JBPAPP-662 intoroduced a bug. Trying to call commit with closed connection now returns:

      javax.jms.ResourceAllocationException: Connection is not associated with a managed connection. org.jboss.resource.adapter.jms.JmsSession@3b26f3
      at org.jboss.resource.adapter.jms.JmsSession.lock(JmsSession.java:112)
      at org.jboss.resource.adapter.jms.JmsSession.commit(JmsSession.java:270)

      instead of javax.jms.IllegalStateException as required. This makes several TCK tests to fail.

        1. ClosedQueueConnectionTests_closedQueueConnectionCommitTest_from_ejb.jtr
          29 kB
          Dominik Pospisil
        2. server.log
          1.63 MB
          Dominik Pospisil

              vickyk_jira Vicky Kak (Inactive)
              dpospisil Dominik Pospisil (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: