-
Bug
-
Resolution: Done
-
Major
-
None
-
6.0.2
-
None
Description of problem:
When used Spring+JTA+PER_PROCESS_INSTANCE, in RuntimeManager creation is throwed:
java.lang.IllegalStateException: Illegal method call. This session was
previously disposed.
at
org.drools.core.reteoo.DisposedReteooWorkingMemory.getProcessRuntime(DisposedReteooWorkingMemory.java:261)
at
org.drools.core.impl.StatefulKnowledgeSessionImpl.getProcessRuntime(StatefulKnowledgeSessionImpl.java:900)
at
org.drools.persistence.SingleSessionCommandService$SynchronizationImpl.afterCompletion(SingleSessionCommandService.java:457)
at
org.drools.persistence.TransactionSynchronizationContainer.afterCompletion(TransactionSynchronizationContainer.java:26)
at
org.kie.spring.persistence.SpringTransactionSynchronizationAdapter.afterCompletion(SpringTransactionSynchronizationAdapter.java:37)
How reproducible:
Always
Steps to Reproduce:
reproducer attached
Actual results:
java.lang.IllegalStateException
Expected results:
No exceptions