[rules-dev] Unable to load session snapshot

Sameeh Harfoush sameeh.harfoush at gmail.com
Tue Jun 29 05:02:04 EDT 2010


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.


More information about the rules-dev mailing list