KnoledgeRuntimeLoggerFactory.newConsoleLogger(ksession);<br>Probably it's a bug, as mark said, but I want to understand your current behavior to be able to analyze the problem.<br>Greetings.<br><br><div class="gmail_quote">
2010/5/13 Michal Bali <span dir="ltr"><<a href="mailto:michalbali@gmail.com">michalbali@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>Thank you for looking into this.</div>
<div> </div>
<div>@Salaboy: </div>
<div>1 what do you mean by a runtime logger? (is it agenda logger and workingmemory logger?)</div>
<div>2 yes true. I forgot about that.</div>
<div> </div>
<div>Best regards,</div>
<div>Michal<font color="#888888"><br><br></font></div><div><div></div><div class="h5">
<div class="gmail_quote">On Thu, May 13, 2010 at 1:45 AM, Salaboy <span dir="ltr"><<a href="mailto:salaboy@gmail.com" target="_blank">salaboy@gmail.com</a>></span> wrote:<br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;" class="gmail_quote">By the way you understand that doesn't make sense to do that LHS<br>right? You can do forall(Message())<br>
<div><br>- Ing. Mauricio Salatino -<br><br>On May 12, 2010, at 13:52, Michal Bali <<a href="mailto:michalbali@gmail.com" target="_blank">michalbali@gmail.com</a>> wrote:<br><br></div>
<div>
<div></div>
<div>> Hi,<br>><br>> I have encountered the following problem with the latest Drools 5.1<br>> SNAPSHOT<br>><br>> I've created a sample Drools project and replaced the Sample.drl<br>> with the following:<br>
> --Sample.drl--------------------------------------<br>> package com.sample<br>><br>> import com.sample.DroolsTest.Message;<br>><br>> rule "Hello World"<br>> when<br>> forall( Message( )<br>
> Message() )<br>> then<br>> System.out.println("executed");<br>> end<br>> --------------------------------------------<br>> If I run the sample application like this everything is fine -<br>
> "executed" is printed. However, if I modify the main method and<br>> insert some additional fact just before the message fact is<br>> inserted, like this:<br>> --DroolsTest.java-----------------------------------<br>
> .....<br>> ksession.insert(new Object());<br>> ksession.insert(message);<br>> .....<br>> -----------------------------------------------------------<br>> then the rule won't fire any more.<br>><br>
> Please note that if you change the fact insertion order (first the<br>> message then the Object) it will work as expected.<br>><br>> Is this a bug or am I missing something? I can file a JIRA if needed.<br>
><br>
> Thank you!<br>> Best regards,<br>> Michal<br></div></div>
<div>
<div></div>
<div>> _______________________________________________<br>> rules-users mailing list<br>> <a href="mailto: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>
_______________________________________________<br>rules-users mailing list<br><a href="mailto: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><br>
</div></div><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> - <a href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br> - <a href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br> - Salatino "Salaboy" Mauricio -<br>