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

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

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: EJB
    • Labels:
      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

            Assignee:
            emmartins Eduardo Martins
            Reporter:
            maeste Stefano Maestri
            Votes:
            3 Vote for this issue
            Watchers:
            10 Start watching this issue

              Dates

              Created:
              Updated: