[jboss-dev-forums] [JBoss Transactions Development] - Re: JBoss Transaction Not Active - EJB 2.1 in JBOSS EAP 5.1.2
Rodel Talampas
do-not-reply at jboss.com
Mon Aug 27 22:36:16 EDT 2012
Rodel Talampas [https://community.jboss.org/people/limacon] created the discussion
"Re: JBoss Transaction Not Active - EJB 2.1 in JBOSS EAP 5.1.2"
To view the discussion, visit: https://community.jboss.org/message/756330#756330
--------------------------------------------------------------
Hi Michael,
I have not looked up if transaction still exists but what i know its not active anymore due to an ejb auto commit through ejbStore. I believe this is a flaw on our system on why do we have a DB logic inside a passivate call (I think this is not a normal case).
Since I know that at ejbPassivate I dont have anymore transaction active, what i did was to create a new bean that has its own transaction. I created a stateless session bean that has its own db call and call this bean inside the passivate.
Thanks for your help again. If i find out more, will let you know.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/756330#756330]
Start a new discussion in JBoss Transactions Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2041]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120827/cf88ef31/attachment.html
More information about the jboss-dev-forums
mailing list