JBoss Community

Re: Jbpm 6.0.0.beta2 error disposing ksession when commiting transaction

created by Pablo Zamudio in jBPM Development - View the full discussion

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

Start a new discussion in jBPM Development at Community