<div><br></div> Greg,<div><br></div><div> I will look into that. Trunk is under heavy work right now, so it will probably not work.</div><div><br></div><div> Edson<br><br><div class="gmail_quote">2011/3/17 Greg Barton <span dir="ltr"><<a href="mailto:greg_barton@yahoo.com">greg_barton@yahoo.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">Yes, but I just fired up a small project using it and it used 100% of CPU. If you build the attached project you'll see the tests run just fine. (They use fireAllRules.) If you launch from the commandline, ("java -jar target/DroolsBoxes-1.0.jar") which uses fireUntilHalt, the rules fire (and complete) just fine, but it continues to use 100% of a cpu core indefinitely. This is with 5.1.1. If I change the drools version to 5.2.0-SNAPSHOT it compiles but the tests won't run. They all fail with the following exception:<div>
<br></div><div><div>java.lang.NoSuchMethodError: org.drools.spi.DeclarationScopeResolver.<init>([Ljava/util/Map;Ljava/util/Stack;)V</div><div><span style="white-space:pre-wrap">        </span>at org.drools.rule.builder.RuleBuildContext.<init>(RuleBuildContext.java:72)</div>
<div><span style="white-space:pre-wrap">        </span>at org.drools.compiler.PackageBuilder.addRule(PackageBuilder.java:1198)</div><div><span style="white-space:pre-wrap">        </span>at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:629)</div>
<div><span style="white-space:pre-wrap">        </span>at org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:278)</div><div><span style="white-space:pre-wrap">        </span>at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:451)</div>
<div><span style="white-space:pre-wrap">        </span>at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:28)</div><div><span style="white-space:pre-wrap">        </span>at com.sample.DroolsTest.readKnowledgeBase(DroolsTest.java:75)</div>
<div><span style="white-space:pre-wrap">        </span>at
com.sample.DroolsTest.go(DroolsTest.java:31)</div><div><span style="white-space:pre-wrap">        </span>at com.sample.BoxTest.test0(BoxTest.java:21)</div><br>--- On <b>Thu, 3/17/11, Edson Tirelli <i><<a href="mailto:ed.tirelli@gmail.com" target="_blank">ed.tirelli@gmail.com</a>></i></b> wrote:<br>
<blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px"><br>From: Edson Tirelli <<a href="mailto:ed.tirelli@gmail.com" target="_blank">ed.tirelli@gmail.com</a>><div class="im"><br>
Subject: Re: [rules-users] Basic doubt regarding Drools Fusion - @expires<br>To: "Rules Users List" <<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>><br></div>Date: Thursday, March 17, 2011, 10:47 AM<div>
<div></div><div class="h5"><br><br><div><div><br></div> To be honest, I believe so, but didn't profiled it extensively. I used fireUntilHalt() in my Webinar yesterday on a live demo and it worked nicely.<div><br></div>
<div> Edson<br><br><div>
2011/3/17 Greg Barton <span dir="ltr"><<a rel="nofollow" href="http://mc/compose?to=greg_barton@yahoo.com" target="_blank">greg_barton@yahoo.com</a>></span><br><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit"><div><br></div>Has the performance problem with fireUntilHalt been fixed in 5.2? <br><br>--- On <b>Thu, 3/17/11, Makewise - Vitor Rui Mendonça <i><<a rel="nofollow" href="http://mc/compose?to=Vitor.Mendonca@brisa.pt" target="_blank">Vitor.Mendonca@brisa.pt</a>></i></b> wrote:<br>
<blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px"><br>From: Makewise - Vitor Rui Mendonça <<a rel="nofollow" href="http://mc/compose?to=Vitor.Mendonca@brisa.pt" target="_blank">Vitor.Mendonca@brisa.pt</a>><div>
<br>Subject: Re: [rules-users] Basic doubt regarding Drools Fusion - @expires<br></div>To: "'Rules Users List'" <<a rel="nofollow" href="http://mc/compose?to=rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>><br>
Date: Thursday, March 17, 2011, 7:01 AM<div><br><br><div>
<p></p>
<div>
<p><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Hi Thomas, thanks for the info!</span></p>
<p><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> </span></p>
<p><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">I googled it quite a bit and I think it’s a path to be explored, albeit I’ve saw several messages on the mailing list regarding performance issues
when using fireUntilHalt.</span></p></div></div></div></blockquote></td></tr></tbody></table><br>
<br>_______________________________________________<br>
rules-users mailing list<br>
<a rel="nofollow" href="http://mc/compose?to=rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a rel="nofollow" href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br> Edson Tirelli<br> JBoss Drools Core Development<br> JBoss by Red Hat @ <a rel="nofollow" href="http://www.jboss.com" target="_blank">www.jboss.com</a><br>
</div>
</div><br></div></div>-----Inline Attachment Follows-----<div class="im"><br><br><div>_______________________________________________<br>rules-users mailing list<br><a href="http://mc/compose?to=rules-users@lists.jboss.org" target="_blank">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></td></tr></tbody></table><br>
<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>
<br></blockquote></div><br><br clear="all"><br>-- <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>