[rules-users] Persisted stateful sessions and knowledge base changes (revisited)

dunnlow dunnlow at yahoo.com
Wed Aug 28 22:32:45 EDT 2013


I have an Drools 5.5. application that  persists a stateful session to a
database.  While it was running, I made some changes to my rules (via
Guvnor).  When I restarted my application it was no longer able to reload
the persisted session:

*Caused by: java.lang.RuntimeException: Unable to load session snapshot at
org.drools.persistence.session.JPASessionMarshallingHelper.loadSnapshot(JPASessionMarshallingHelper.java:96)*

FYI, I do not use a KnowledgeAgent because I have a lot of events coming in
and I only want to load the knowledgebase changes when my application starts
up.

About two years ago, a discussion occurred on this topic
(https://community.jboss.org/message/628586#628586).  Unfortunately, I
haven't seen much since but I am hoping that someone has concurred this
problem (elegantly or otherwise).

Is there a common way to solve this problem?  Given a persisted session what
are the steps needed to migrate it to the new ruleset?

Thanks for any insight.
-J





--
View this message in context: http://drools.46999.n3.nabble.com/Persisted-stateful-sessions-and-knowledge-base-changes-revisited-tp4025720.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list