<html>

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Another good thing to do is to include the
answer when you have figured it out yourself.&nbsp;&nbsp; I know we don&#8217;t
always think of this, but this is a two way street.&nbsp;&nbsp; It is helpful when
we give as well as receive. &nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<div>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
 10.0pt;font-family:Arial;color:navy'>Robert Costello</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Lead Systems Engineer</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>IMA Performance</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>E3-&nbsp;279A</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>847.286.0910</span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>&nbsp;</span></font></p>

</div>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> rules-users-bounces@lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] <b><span style='font-weight:bold'>On
Behalf Of </span></b>Edson Tirelli<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, January 22, 2009
10:43 AM<br>
<b><span style='font-weight:bold'>To:</span></b> </span></font><font size=2
 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>Rules Users List</span></font><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: Re[rules-users]
garding BRMS</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><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'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; </span></font></p>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>2009/1/22 learndrools &lt;<a
href="mailto:learnspring@gmail.com">learnspring@gmail.com</a>&gt;</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><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'<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"><span style='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></span></font></span></font></p>

</div>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><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></span></font></p>

</div>

</body>

</html>