Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-1168

MDB is looking up UserTransaction even if it isn't Bean Managed

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Unresolved
    • Major
    • None
    • None
    • EJB
    • None

    Description

      Investigating on a use case I've seen that MDB comes to org.jboss.jca.adapters.jdbc.WrapperDataSource looking up for UT. It fails with this exception

      javax.naming.NamingException: JBAS014237: Only session and message-driven beans with bean-managed transaction demarcation are allowed to access UserTransaction [Root exception is java.lang.IllegalStateException: JBAS014237: Only session and message-driven beans with bean-managed transaction demarcation are allowed to access UserTransaction]

      the problem is exposed running
      org.jboss.as.test.integration.ejb.mdb.MDBTestCase

      Attachments

        Activity

          People

            emartins@redhat.com Eduardo Martins
            smaestri@redhat.com Stefano Maestri
            Votes:
            2 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated: