[jboss-dev-forums] [JBoss Transactions Development] - Re: JBoss Transaction Not Active - EJB 2.1 in JBOSS EAP 5.1.2
Michael Musgrove
do-not-reply at jboss.com
Fri Aug 17 11:37:26 EDT 2012
Michael Musgrove [https://community.jboss.org/people/mmusgrov] 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/754289#754289
--------------------------------------------------------------
If there is an active transaction when you make a call to getConnection the container will try to enlist the connection in the transaction. But I notice from the stack trace that you are trying to get the connection from an AfterCompletion synchronisation - ie the transaction has already finished (and that is why WrapperDataSource throws the exception). Is this what you are intending?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/754289#754289]
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/20120817/056a3c70/attachment.html
More information about the jboss-dev-forums
mailing list