Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-19052

[GSS](7.2.z) JBoss EAP 7.2 does not offer a transacted session for CDI bean

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Rejected
    • Affects Version/s: 7.2.6.GA
    • Fix Version/s: None
    • Component/s: JMS
    • Labels:
      None
    • Target Release:
    • Steps to Reproduce:
      Hide
      • Please configure a Queue, 'TestQueue' in the standalone-full.xml file as follows:
        <jms-queue name="TestQueue" entries="java:/jboss/exported/jms/queue/TestQ java:/jms/queue/TestQ"/>
      • Please build the attached project using a preferred IDE or deploy the jms-send-message-4.13.1-SNAPSHOT.war web archive
      • Please access this link to invoke the JmsClient class:
        http://localhost:8080/queue/go
        Alternatively, you may invoke the link from the command line:
        curl http://localhost:8080/queue/go
      • The application would throw the following exception:
        Caused by: javax.jms.IllegalStateException: Session is not transacted
      Show
      Please configure a Queue, 'TestQueue' in the standalone-full.xml file as follows: <jms-queue name="TestQueue" entries="java:/jboss/exported/jms/queue/TestQ java:/jms/queue/TestQ"/> Please build the attached project using a preferred IDE or deploy the jms-send-message-4.13.1-SNAPSHOT.war web archive Please access this link to invoke the JmsClient class: http://localhost:8080/queue/go Alternatively, you may invoke the link from the command line: curl http://localhost:8080/queue/go The application would throw the following exception: Caused by: javax.jms.IllegalStateException: Session is not transacted
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Please obtain a connection from the factory bound at java:/ConnectionFactory

      Show
      Please obtain a connection from the factory bound at java:/ConnectionFactory

      Description

      A transacted CDI bean was not offered a transacted JMS session if the client obtain a connection from the default pooled-connection-factory; from the factory bound at java:/JmsXA.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                gaohoward Howard Gao
                Reporter:
                bershath27 Tyronne Wickramarathne
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: