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

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: