users@glassfish.java.net

Re: GF 2.1.1 javax.ejb.EJBException

From: <glassfish_at_javadesktop.org>
Date: Thu, 20 May 2010 15:54:55 PDT

The exception says: "Cannot use an EntityTransaction while using JTA". If you are using JTA (i.e. default) persistent unit setup in JavaEE environment (EJB in your case), you either rely on container managed transactions (default) or use UserTransaction if your EJB is configured to do so.

HTH,
-marina
[Message sent by forum member 'mvatkina']

http://forums.java.net/jive/thread.jspa?messageID=470804