<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Manukyan, Sergey wrote:
<blockquote
cite="mid:4E03EDD62CB1CB4599E6BD71DBEDFD2002B13A75@usmitry-exm1.corp.lear.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 11 (filtered)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
pre
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle18
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<div class="Section1">
<p class="MsoNormal"><font color="black" face="Times New Roman"
size="3"><span style="font-size: 12pt;">You should be able to
serialise a Package without
having to first add it to PackageBuilder, we have numerous tests for
this.</span></font></p>
<p class="MsoNormal" style="margin-left: 0.5in;"><font color="black"
face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
Mark, I looked at the test in PackageBuilderTest.</span></font><font
color="black" face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New"; color: windowtext;">testSerializable(),
but it is too syntetic, f.e. it doesn’t
use insert(…) function as I do in my scenario. Please try creating a
test
with inserting some MyClass() after deserializing without recreating
PackageBuilder and you will see it failing. I made many tests
suggesting that.
Even when I use DroolsObjectInputStream()</span></font></p>
<p class="MsoNormal"><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New"; color: windowtext;"> </span></font></p>
<p class="MsoNormal" style="text-indent: 0.5in;"><font color="black"
face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New"; color: windowtext;">-Sergey</span></font></p>
<p class="MsoNormal"><font color="black" face="Times New Roman"
size="3"><span style="font-size: 12pt;"> </span></font></p>
</div>
</blockquote>
If y ou think this is a bug please open a jira with a self contained
test demonstrating this.<br>
<br>
Mark<br>
<blockquote
cite="mid:4E03EDD62CB1CB4599E6BD71DBEDFD2002B13A75@usmitry-exm1.corp.lear.com"
type="cite">
<div class="Section1">
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<div>
<div class="MsoNormal" style="text-align: center;" align="center"><font
color="black" face="Times New Roman" size="3"><span
style="font-size: 12pt; color: windowtext;">
<hr tabindex="-1" align="center" size="2" width="100%"></span></font></div>
<p class="MsoNormal"><b><font color="black" face="Tahoma" size="2"><span
style="font-size: 10pt; font-family: Tahoma; color: windowtext; font-weight: bold;">From:</span></font></b><font
color="black" face="Tahoma" size="2"><span
style="font-size: 10pt; font-family: Tahoma; color: windowtext;">
<a class="moz-txt-link-abbreviated" href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org</a>
[<a class="moz-txt-link-freetext" href="mailto:rules-users-bounces@lists.jboss.org">mailto:rules-users-bounces@lists.jboss.org</a>] <b><span
style="font-weight: bold;">On
Behalf Of </span></b>Mark Proctor<br>
<b><span style="font-weight: bold;">Sent:</span></b> Tuesday, October
09, 2007
6:25 PM<br>
<b><span style="font-weight: bold;">To:</span></b> Rules Users List<br>
<b><span style="font-weight: bold;">Subject:</span></b> Re:
[rules-users] RE: RE:
rules precompilation</span></font></p>
</div>
<p class="MsoNormal"><font color="black" face="Times New Roman"
size="3"><span style="font-size: 12pt;"> </span></font></p>
<p class="MsoNormal"><font color="black" face="Times New Roman"
size="3"><span style="font-size: 12pt;">Manukyan, Sergey wrote: </span></font></p>
<pre wrap=""><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Ekke,</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Thanks a lot! It worked just fine...</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">The other missing point is that after deserializing the PackageBuilder</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">should be buit as in your example :</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> builder = new PackageBuilder((Package)ois.readObject());</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">and later on from that isnatcne should be retrieved the Package inctance</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">by doing:</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> package = buider.getPackage();</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">as otherwise this code was failing:</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> package = (Package)ois.readObject(); // FAILES, subsequent use</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">of package produces "class not found" exception when inserting objects.</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Mark,</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Think this should be documented somewhere in manual... under IMPORTANT</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">section... by the way, IMHO that section should be more visible from</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">what is used currently in manual... - thin italic font, how about bold</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">red?</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<p class="MsoNormal"><font color="black" face="Times New Roman"
size="3"><span style="font-size: 12pt;">You should be able to
serialise a Package without
having to first add it to PackageBuilder, we have numerous tests for
this.<br>
<br>
</span></font></p>
<pre wrap=""><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Thanks to all,</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">-Sergey</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">-----Original Message-----</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">From: <a moz-do-not-send="true"
href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org</a></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">[<a moz-do-not-send="true"
href="mailto:rules-users-bounces@lists.jboss.org">mailto:rules-users-bounces@lists.jboss.org</a>] On Behalf Of ekke</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Sent: Tuesday, October 09, 2007 2:35 PM</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">To: <a moz-do-not-send="true"
href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Subject: [rules-users] RE: RE: rules precompilation</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Sergey,</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">of course Mark is right - you shouldn't use readExternal and the default</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">constructor.</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">this was my fault from an earlier mail.</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">please try something like this:</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">// EXPORT</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">...</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">FileOutputStream fos .....</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">...</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">ObjectOutputStream oos = null;</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> try {</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> oos = new ObjectOutputStream(fos);</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> oos.writeObject(builder.getPackage());</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> oos.close();</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> } catch (final IOException e) {</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> ... your code....</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> }</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">...</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">// IMPORT</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">FileInputStream fis...</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">...</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">ObjectInputStream ois = null;</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> try {</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> ois = new ObjectInputStream(fis);</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> builder = new</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">PackageBuilder((Package)ois.readObject());</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> ois.close();</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> } catch (final IOException e) {</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> ...your code...;</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> } catch (final ClassNotFoundException e) {</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> ...your code...;</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> }</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">now your imported package should work like the exported</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">ekke</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Manukyan, Sergey wrote:</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<blockquote style="margin-top: 5pt; margin-bottom: 5pt;" type="cite">
<pre wrap=""><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Ekke,</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Started using 4.0.2, but getting same error.</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">This is how I am loading the Package :</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">this.pkg = new Package();</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">this.pkg.readExternal(ois);</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Does that look right to you?</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">-Sergey</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">-----Original Message-----</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">From: <a moz-do-not-send="true"
href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org</a></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">[<a moz-do-not-send="true"
href="mailto:rules-users-bounces@lists.jboss.org">mailto:rules-users-bounces@lists.jboss.org</a>] On Behalf Of ekke</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Sent: Wednesday, October 03, 2007 4:08 PM</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">To: <a moz-do-not-send="true"
href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Subject: [rules-users] RE: rules precompilation</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">sergey,</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">just tried it:</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">exported a package with rules as stream</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">(using the writeExternal() from Package)</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">then in another run I created new RuleBase, added new Package,</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">then import the rules into this empty Package (using the</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
</blockquote>
<pre wrap=""><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">readExternal()</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<blockquote style="margin-top: 5pt; margin-bottom: 5pt;" type="cite">
<pre wrap=""><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">from</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Package)</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">then added some facts, execute the rules,</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">tested if all rules are there,</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">tested if the Facts are in workingMemory - all ok</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">(using snapshot 4.0.2, eclipse 3.3, osx 10.4.10)</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">ekke</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Manukyan, Sergey wrote:</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<blockquote style="margin-top: 5pt; margin-bottom: 5pt;" type="cite">
<pre wrap=""><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Ming, Ekke,</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">After deserialising the Package back - getting exception when</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
</blockquote>
<pre wrap=""><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">inserting</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<blockquote style="margin-top: 5pt; margin-bottom: 5pt;" type="cite">
<pre wrap=""><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">facts:</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Exception thrown : java.lang.NoClassDefFoundError: XXXShadowProxy</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">XXX - is my class name</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Any ideas?</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">-Sergey</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">-----Original Message-----</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">From: <a moz-do-not-send="true"
href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org</a></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">[<a moz-do-not-send="true"
href="mailto:rules-users-bounces@lists.jboss.org">mailto:rules-users-bounces@lists.jboss.org</a>] On Behalf Of Jin, Ming</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Sent: Wednesday, October 03, 2007 1:50 PM</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">To: Rules Users List</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Subject: RE: [rules-users] rules precompilation</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Sergey,</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">I am using precompiled rules. Serializing instances of</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">org.drools.rule.Package works for me.</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Thanks,</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">-Ming </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">-----Original Message-----</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">From: <a moz-do-not-send="true"
href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org</a></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">[<a moz-do-not-send="true"
href="mailto:rules-users-bounces@lists.jboss.org">mailto:rules-users-bounces@lists.jboss.org</a>] On Behalf Of Manukyan,</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Sergey</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Sent: Wednesday, October 03, 2007 12:29 PM</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">To: Rules Users List</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Subject: [rules-users] rules precompilation</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Folks,</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Where can I find information on how to pre-compile rules in 4.0.1?</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Thanks,</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">-Sergey</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">**********************</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">** LEGAL DISCLAIMER **</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">**********************</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">This E-mail message and any attachments may contain legally</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
</blockquote>
<pre wrap=""><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">privileged,</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<blockquote style="margin-top: 5pt; margin-bottom: 5pt;" type="cite">
<pre wrap=""><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">confidential or proprietary information. If you are not the intended</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">recipient(s), or the employee or agent responsible for delivery of</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
</blockquote>
<pre wrap=""><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">this</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<blockquote style="margin-top: 5pt; margin-bottom: 5pt;" type="cite">
<pre wrap=""><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">message to the intended recipient(s), you are hereby notified that</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
</blockquote>
</blockquote>
<pre wrap=""><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">any</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<blockquote style="margin-top: 5pt; margin-bottom: 5pt;" type="cite">
<blockquote style="margin-top: 5pt; margin-bottom: 5pt;" type="cite">
<pre wrap=""><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">dissemination, distribution or copying of this E-mail message is</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">strictly prohibited. If you have received this message in error,</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
</blockquote>
<pre wrap=""><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">please</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<blockquote style="margin-top: 5pt; margin-bottom: 5pt;" type="cite">
<pre wrap=""><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">immediately notify the sender and delete this E-mail message from</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
</blockquote>
</blockquote>
<pre wrap=""><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">your</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<blockquote style="margin-top: 5pt; margin-bottom: 5pt;" type="cite">
<blockquote style="margin-top: 5pt; margin-bottom: 5pt;" type="cite">
<pre wrap=""><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">computer.</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">_______________________________________________</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">rules-users mailing list</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"><a moz-do-not-send="true"
href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"><a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">_______________________________________________</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">rules-users mailing list</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"><a moz-do-not-send="true"
href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"><a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">_______________________________________________</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">rules-users mailing list</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"><a moz-do-not-send="true"
href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"><a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
</blockquote>
<pre wrap=""><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">-- </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">View this message in context:</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
</blockquote>
<pre wrap=""><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"><a moz-do-not-send="true"
href="http://www.nabble.com/How-to-have-your-emails-ignored-tf4562290.html#a13">http://www.nabble.com/How-to-have-your-emails-ignored-tf4562290.html#a13</a></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<blockquote style="margin-top: 5pt; margin-bottom: 5pt;" type="cite">
<pre wrap=""><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">026864</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Sent from the drools - user mailing list archive at Nabble.com.</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">_______________________________________________</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">rules-users mailing list</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"><a moz-do-not-send="true"
href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"><a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">_______________________________________________</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">rules-users mailing list</span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"><a moz-do-not-send="true"
href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"><a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
</blockquote>
<pre wrap=""><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> </span></font></pre>
<p class="MsoNormal"><font color="black" face="Times New Roman"
size="3"><span style="font-size: 12pt;"> </span></font></p>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</body>
</html>