<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"><<a href="mailto:dac@akc.org">dac@akc.org</a>></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>
><br>
> What are the steps you are following? Something like this?:<br>
><br>
> The agent creates the kbase<br>
> Get kbase from kagent<br>
> Create a stateless ksession<br>
> insert some facts<br>
> fire all rules<br>
> check result<br>
> modify drl<br>
> wait until kagent rebuilds the kbase<br>
> get the new kbase from kagent<br>
> Create a stateless ksession<br>
> insert some facts<br>
> fire all rules<br>
> check result<br>
><br>
> Also, which version of Drools are you using?<br>
><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>
><br>
> Incremental change set processing might create the effect you describe.<br>
> Declared types are always replaced; rules only if they differ.<br>
><br>
<br>
<br>
</div><div class="im">Esteban wrote:<br>
><br>
> He doesn't seem to be using KAgent in incremental mode. So, each time a<br>
> change is detected, a new KBase is created. All sessions previously<br>
> created will continue using the old kbase.<br>
> He is using Stateless ksessions.<br>
><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>