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&...]