jaikiran pai [http://community.jboss.org/people/jaikiran] created the discussion
"Re: 'You cannot commit during a managed transaction' issue" To view the discussion, visit: http://community.jboss.org/message/601312#601312 -------------------------------------------------------------- What you need is bean managed transactions, which can be achieved by setting @javax.ejb.TransactionManagement(TransactionManagementType.BEAN) on the bean implementation class or using the following in the ejb-jar.xml: <session> <ejb-name>...</ejb-name> ... <transaction-type>Bean</transaction-type> .... By the way, I would recommend that you try the latest AS 6.1.0 SNAPSHOT http://community.jboss.org/thread/161386 http://community.jboss.org/thread/161386 since there was a bug (with a workaround) https://issues.jboss.org/browse/EJBTHREE-2238 https://issues.jboss.org/browse/EJBTHREE-2238 in 6.0.0.Final related to Bean managed transactions. -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/601312#601312] Start a new discussion in EJB3 at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
