<br>&nbsp;&nbsp; Hi Ashish,<br><br>&nbsp;&nbsp; Glad you figured out.<br><br>&nbsp;&nbsp; You got me on a bad mood day (Monday morning, worked through the weekend), sorry for the harsh e-mail.<br><br>&nbsp;&nbsp; To get faster and better answer from the list users, it is important to do the homework and provide information on your e-mail that allow people to understand the problem/error and even better, if possible, reproduce the problem. While your first e-mail contained such information, the second one didn&#39;t helped at all. Otherwise, only through divination someone will be able to help. :)<br>
<br>&nbsp;&nbsp; Regards,<br>&nbsp;&nbsp; Edson<br><br>&nbsp;&nbsp; <br><div class="gmail_quote">2009/1/22 learndrools <span dir="ltr">&lt;<a href="mailto:learnspring@gmail.com">learnspring@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi Edson ,<br>
<br>
I apologies as i did a small mistake , now it is working fine.<br>
<br>
Regards,<br>
Ashish<br>
<br>
Edson Tirelli-3 wrote:<br>
&gt;<br>
&gt; &nbsp; &nbsp;Let me think... since we gave you the answer to your question already,<br>
&gt; and after that you came back with an excellent description of the problem<br>
&gt; (&quot;it is not working&quot;), not to mention your apparent will of investigating<br>
&gt; further, looking at the logs, docs, archives, etc, I do have a few<br>
&gt; suggestions:<br>
&gt;<br>
&gt; * did you checked if there are any gnomes around your computer? They are<br>
&gt; probably sabotaging you...<br>
&gt; * is your computer in the same room as your microwave? there may be<br>
&gt; interference...<br>
&gt; * did you tried that on a sunny day? on rainy days you never know...<br>
&gt;<br>
&gt; &nbsp; &nbsp;Well, if nothing of the above works, you may try buying training,<br>
&gt; development support or consultancy. In any of these cases I am sure the<br>
&gt; professionals, having access to your logs and test environment may either<br>
&gt; teach you or do it for you (for the right price, of course).<br>
&gt;<br>
&gt; &nbsp; &nbsp;[]s<br>
&gt; &nbsp; &nbsp;Edson<br>
&gt;<br>
&gt; 2009/1/19 Ashish Soni &lt;<a href="mailto:ashish.usoni@gmail.com">ashish.usoni@gmail.com</a>&gt;<br>
&gt;<br>
&gt;&gt; I tried the suggestion of keeping reference of the object &nbsp;but it is not<br>
&gt;&gt; working , Please let me know if there is way to do that.<br>
&gt;&gt;<br>
&gt;&gt; Regards,<br>
&gt;&gt; Ashish<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Sun, Jan 18, 2009 at 2:47 PM, Edson Tirelli &lt;<a href="mailto:tirelli@post.com">tirelli@post.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &nbsp; &nbsp; 6 days ago we had this very same question and a thread discussing<br>
&gt;&gt;&gt; the<br>
&gt;&gt;&gt; options:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; <a href="http://lists.jboss.org/pipermail/rules-users/2009-January/007529.html" target="_blank">http://lists.jboss.org/pipermail/rules-users/2009-January/007529.html</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &nbsp; &nbsp;Please use the mail list archive.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &nbsp; &nbsp; []s<br>
&gt;&gt;&gt; &nbsp; &nbsp; Edson<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; 2009/1/18 Ashish Soni &lt;<a href="mailto:ashish.usoni@gmail.com">ashish.usoni@gmail.com</a>&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Hi Mark ,<br>
&gt;&gt;&gt;&gt; I am evaluating Drools BRMS for our upcoming projects and have below<br>
&gt;&gt;&gt;&gt; questions it would be great if you can help ..<br>
&gt;&gt;&gt;&gt; I have created a rules package using BRMS and then trying to execute<br>
&gt;&gt;&gt;&gt; rules using below code can you please let me know how i can see the<br>
&gt;&gt;&gt;&gt; modified<br>
&gt;&gt;&gt;&gt; object back.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; The Rules is very simple as if the name of the customer is &quot;Ashish&#39;<br>
&gt;&gt;&gt;&gt; then<br>
&gt;&gt;&gt;&gt; set the phone to some value as given in the rule .<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; public static void main(String[] args) {<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; Properties properties = new Properties();<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; try {<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; properties.load(new<br>
&gt;&gt;&gt;&gt; FileInputStream(&quot;C:\\Dev\\MyTest\\src\\com\\mytest\\MyRules.properties&quot;));<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; } catch (IOException e) {<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; }<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; RuleAgent ruleAgent = RuleAgent.newRuleAgent(properties);<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; RuleBase rb = ruleAgent.getRuleBase();<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; StatefulSession session = rb.newStatefulSession();<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; session.addEventListener( new DebugAgendaEventListener() );<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; session.addEventListener( new DebugWorkingMemoryEventListener()<br>
&gt;&gt;&gt;&gt; );<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; WorkingMemoryFileLogger logger = new WorkingMemoryFileLogger(<br>
&gt;&gt;&gt;&gt; session );<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; Customer customer = new Customer();<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; customer.setName(&quot;Ashish&quot;);<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; logger.setFileName(<br>
&gt;&gt;&gt;&gt; &quot;C:\\Dev\\MyTest\\src\\com\\mytest\\helloworld.txt&quot; );<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; session.insert(customer);<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; session.fireAllRules();<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; logger.writeToDisk();<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; session.dispose();<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Properties File<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; newInstance=true<br>
&gt;&gt;&gt;&gt; url=<br>
&gt;&gt;&gt;&gt; <a href="http://localhost:8080/drools-jbrms/org.drools.brms.JBRMS/package/AshwinPKG/AshwinSnap" target="_blank">http://localhost:8080/drools-jbrms/org.drools.brms.JBRMS/package/AshwinPKG/AshwinSnap</a><br>

&gt;&gt;&gt;&gt; poll=30<br>
&gt;&gt;&gt;&gt; name=MyConfig<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Regards,<br>
&gt;&gt;&gt;&gt; Ashish soni<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; rules-users mailing list<br>
&gt;&gt;&gt;&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt;&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; rules-users mailing list<br>
&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;<br>
&gt;<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://www.nabble.com/Regarding-BRMS-tp21531829p21607323.html" target="_blank">http://www.nabble.com/Regarding-BRMS-tp21531829p21607323.html</a><br>
Sent from the drools - user mailing list archive at Nabble.com.<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>
</font></blockquote></div><br><br clear="all"><br>-- <br> &nbsp;Edson Tirelli<br> &nbsp;JBoss Drools Core Development<br> &nbsp;JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>