[rules-users] Serialization issue.

2014-07-29 Thread Federico Bertola
Dear all, Some time ago I've submitted a pull request (#353) fixing a situation where a rule with large text prevent the serialization of the knowledge package. This is now the only thing that prevent us form using the original distribution. If there's nothing wrong or risky in it, it is

[rules-users] Serialization issue with StateKnowledgeSession

2012-07-12 Thread chrisLi
Hi, all I have a requirement to serialzie a stateful session as a snapshot. private void serialize(OutputStream out) throws IOException{ System.out.println(writing); DroolsObjectOutputStream droolsOut = new DroolsObjectOutputStream(

Re: [rules-users] Serialization issue with StateKnowledgeSession

2012-07-12 Thread chrisLi
, I looked into Marshaller's API, and find the following method: StatefulKnowledgeSessionunmarshall(InputStream stream, KnowledgeSessionConfiguration config, Environment environment) which can take a KnowledgeSessionConfiguration parameter. With it we can configure the deserialized

[rules-users] Serialization issue

2007-12-13 Thread Eric Miles
All, I'm using Xstream for serialization in my project. I am having an issue after deserializing a package in that application's classloader can't find a generated class created by Drools for a function. When I look at the serialized XML, I see an entry for the class: entry