<div><br></div>   Did you tried Drools 5.1.1? or 5.2? Lots of bugs were fixed since 5.1.0...<div><br></div><div>   Edson<br><br><div class="gmail_quote">2011/8/24 dcrissman <span dir="ltr">&lt;<a href="mailto:dac@akc.org">dac@akc.org</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im"><br>
Esteban wrote:<br>
&gt;<br>
&gt; What are the steps you are following? Something like this?:<br>
&gt;<br>
&gt;     The agent creates the kbase<br>
&gt;     Get kbase from kagent<br>
&gt;     Create a stateless ksession<br>
&gt;     insert some facts<br>
&gt;     fire all rules<br>
&gt;     check result<br>
&gt;     modify drl<br>
&gt;     wait until kagent rebuilds the kbase<br>
&gt;     get the new kbase from kagent<br>
&gt;     Create a stateless ksession<br>
&gt;     insert some facts<br>
&gt;     fire all rules<br>
&gt;     check result<br>
&gt;<br>
&gt; Also, which version of Drools are you using?<br>
&gt;<br>
<br>
</div>The steps you outline are correct.<br>
That modification can be white space or an actual logic change; but does not<br>
need to be localized in the rule that stops working.<br>
Drools Version: 5.1.0<br>
<div class="im"><br>
<br>
Wolfgang wrote:<br>
&gt;<br>
&gt; Incremental change set processing might create the effect you describe.<br>
&gt; Declared types are always replaced; rules only if they differ.<br>
&gt;<br>
<br>
<br>
</div><div class="im">Esteban wrote:<br>
&gt;<br>
&gt; He doesn&#39;t seem to be using KAgent in incremental mode. So, each time a<br>
&gt; change is detected, a new KBase is created. All sessions previously<br>
&gt; created will continue using the old kbase.<br>
&gt; He is using Stateless ksessions.<br>
&gt;<br>
<br>
</div>As Esteban inferred, incremental mode is not being used. A new session is<br>
created with each run.<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Rules-stop-firing-when-white-space-is-changed-tp3278986p3280973.html" target="_blank">http://drools.46999.n3.nabble.com/Rules-stop-firing-when-white-space-is-changed-tp3278986p3280973.html</a><br>

</font><div><div></div><div class="h5">Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>  Edson Tirelli<br>  JBoss Drools Core Development<br>  JBoss by Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>
</div>