I solved the problem of JPA, after narrowing it down... i am using snapshot
build number 33671

I was using a single static global variables of KnowledgeBuilder and 
KnowledgeBase and using them throughout the StatefulKnowledgeSession
session, this was causing a problem when loading the session snapshot from
DB (http://pastebin.com/EVktxtL7)

What i did to fix the problem that 
1- i used the KnowledgeBase by calling ksession.getKnowledgeBase() , after
setting kbase in the session of course
2- and always created a new KnowledgeBuilder to add resources by
KnowledgeBuilderFactory.newKnowledgeBuilder()


-----
Ash.
-- 
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/Unable-to-load-session-snapshot-tp919372p930148.html
Sent from the Drools - Dev mailing list archive at Nabble.com.
_______________________________________________
rules-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-dev

Reply via email to