darn it! i'm not sure why the behaviour of the dispose(..) changed from 5.2 to 5.3 (one of the reasons we held off from upgrading).
I am also facing the same issue. DId anyone get any workaround or identify the root cause
java.lang.IllegalStateException: Illegal method call. This session was previously disposed.
Can you help me how to reload the session that was disposed in step 1 ?
in my application ,I have disposed the session, and I'm using persistent sessions, how can I reload it from the database using JPAKnowledgeService class BEFORE completing the task ?
I work hard to try reload,but I failed,I don't know how to do it.
Please help ,thanks very much!
EntityManagerFactory emf =
Environment env = EnvironmentFactory.newEnvironment();
ksession = JPAKnowledgeService.loadStatefulKnowledgeSession(sessionId, kbase, null, env);
It's right ,thanks a lot
How can I tell if the transaction has completed?