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

Lookup of UserTransaction should not be allowed in CMT beans

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.0.0.Alpha1
    • None
    • EJB
    • None

    Description

      EJB spec 8.3.4 Enterprise Beans Using Container-Managed Transaction Demarcation:

      The enterprise bean’s business methods, message listener methods, business method interceptor meth- ods, lifecycle callback interceptor methods, or timeout callback methods must not attempt to obtain or use the javax.transaction.UserTransaction interface.

      Currently lookup("java:comp/UserTransaction") returns an instance of org.jboss.tm.usertx.client.ServerVMClientUserTransaction.

      Similar to AS7-5331

      Attachments

        Activity

          People

            emartins@redhat.com Eduardo Martins
            cfang@redhat.com Cheng Fang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: