Hi Droolers,
I am using DroolsObjectOutputStream/DroolsObjectInputStream to
serialize/deserialzie a Stateful
knowledgeSession. The process of serialziation worked well and the size of
the file containing the serialzied
infomation is about 150M. However, when I tried to deserialize the
Hi Laune,
Thank you very much for your quick response.
I did not understand your response very clearly. Could you explain it in
more detail.
Thank you!
--
View this message in context:
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(
, 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
Hi, droolers,
I need to serialize the session as a snapshot at 23:00 pm every day. So I
want to do the serialization work
in a different thread with session execution.
Is it possible? Or is there any risk?
Thank you very much
--
View this message in context:
Thank you very much, laune
--
View this message in context:
http://drools.46999.n3.nabble.com/Is-it-possible-to-serialzie-the-stateful-session-without-stoping-executing-rules-tp4018645p4018648.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
Hi, All
I am using Guvnor 5.4.0 Final with Tomcat 6.0.35. And I wanted to replace
commons-lang2.4 with commons-
lang3-3.1, so I overwrote the commons-lang2.4 jar file in Guvnor's
WEB-INF/lib directory with commons-
lang3-3.1.jar. However an error like follows occured:
Service method 'public
oops!I have not noticed this change.
Thank you very much.
--
View this message in context:
http://drools.46999.n3.nabble.com/Error-occured-when-replacing-commons-lang2-4-with-commons-lang3-3-1-in-Guvnor-5-4-0-Final-tp4018584p4018586.html
Sent from the Drools: User forum mailing list archive at
Hi manstis,
I have another question.
I have created a model jar in Guvnor. And the classes in this jar have
references to other classes out of this
jar. But I do not wanted to create another model jar to contain the refered
classes. So I packaged them into
a jar file and put it into the
Hi, all
I am trying to serialize a StatefulKnowledgeSession into a file as a
snapshot. But I got the following error:
java.io.IOException: Write error
at java.io.FileOutputStream.writeBytes(Native Method)
at java.io.FileOutputStream.write(FileOutputStream.java:282)
Oops!
I did not retract these two accounts after the transaction has been
processed. I thought these two
accounts may be used later. I attempted to update these two accounts with
session.update(facthandle,
object) with assertbehaviour setting to equality. However, no rules were
fired.
Hi All,
The business requirement needs me to serialize a statefule session into
a file. However, the session
object may be huge, which may take 500M memory space. So it will take
several seconds to serialize it.
During the serialization process, the session may still in use, such as
Hi All,
I am working on a banking fraud detection project with Drools Fusion,
which will match a transaction against hunreds of rules to check whether the
transaction is suspicious.
In some rules, I use time-based sliding window to calculate the average
transaction amount of an
Hi,
Thank you very much for so qucik response. I cannot even believe it!
As far as I know, the Fusion engine has to store the event details for
sliding windows. Because if an event
in the window is expired, the Fusion engine still need this event details
to update the accumulate
14 matches
Mail list logo