4 Replies Latest reply on Jun 17, 2014 4:45 AM by G Antony

    User Transaction not allowed for EJBs

    G Antony Newbie

      Hi All,

              I am trying to access a bean method that uses User Transaction and session context. When I try to get User transaction from the ejb context I get the following error.

       

      "only session and message driven beans with bean-managed transaction demarcation are allowed to access UserTransaction"

       

      Can someone please help?

       

      Thanks,

      Antony.