1 Reply Latest reply on Oct 17, 2005 11:55 AM by Bill Burke

    EJB Stateless - Injection - BMT

    charles benassaya Newbie


      I would like to use a Bean Managed Transaction in EJB3 Stateless.
      I make an ejb-jar.xml file deploy in METAINF's ejb3 with the property:
      When i use injection to use userTransaction.
      I can't deploy the EJB. The message is :

      java.lang.IllegalStateException: Container PortService: it is illegal to inject UserTransaction into a CMT bean

      Thank you for your help