users@glassfish.java.net

Re: javax.resource.ResourceException: This Managed ...

From: <forums_at_java.net>
Date: Fri, 23 Mar 2012 12:48:06 -0500 (CDT)

Turns out by default a Stateful EJB is in a container-managed transaction. I
did not have a commit or rollback issued in the destroy method of the bean.
Since I did not need a transaction for this bean anyway I added the
TransactionType annotation of NEVER to it and it resolved this problem.


--
[Message sent by forum member 'Meatwad']
View Post: http://forums.java.net/node/884420