[jboss-dev-forums] [jBPM Development] - Re: Jbpm 6.0.0.beta2 error disposing ksession when commiting transaction
Pablo Zamudio
do-not-reply at jboss.com
Thu Jun 20 13:33:54 EDT 2013
Pablo Zamudio [https://community.jboss.org/people/pzamudio] created the discussion
"Re: Jbpm 6.0.0.beta2 error disposing ksession when commiting transaction"
To view the discussion, visit: https://community.jboss.org/message/824162#824162
--------------------------------------------------------------
We don´t dispose the session. As we are running in a CMT environment, the session is disposed automatically after transaction is finished by the container. If you look at the test of jBPM sources I point out (PerRequestRuntimeManagerTest.testCreationOfSessionWithinTransaction) you can see that the session isn´t disposed explicitly, but by the transaction syncronization (DisposeSessionTransactionSynchronization), registered by jBPM.
Any help would be appreciated.
Thanks in advance.
Pablo
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/824162#824162]
Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130620/5f104f89/attachment.html
More information about the jboss-dev-forums
mailing list