Hello Shekhar,<div><br></div><div>1) You need to read <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><a href="http://www.jboss.org/drools/lists.html" target="_blank" style="color: rgb(42, 93, 176); ">http://www.jboss.org/drools/lists.html</a> (the list of todos) if you expect folks to help you. You have replied to a totally different thread!!</span></div>

<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">2) You don&#39;t need to create a webservice out of the Drools API. There is already one, called drools-server. Read documentation and examples for it.</span></font></div>

<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br clear="all"></span></font>Regards,<br>Prem<br>
<br><br><div class="gmail_quote">2010/4/29 shekharputtur puttur <span dir="ltr">&lt;<a href="mailto:shekharputtur@gmail.com" target="_blank">shekharputtur@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<br>Hi All,<br>
I am  using drools API, and developed a webservice out of it.<br>
I created rule binary package using BRMS Guvnor.<br>
I used RuleAgent to acces the properties file.<br>
ie RuleAgent agent = RuleAgent.newRuleAgent(&quot;/application.properties&quot;);<br>
&quot;application.properties&quot;  file was stored in current working directory.<br>
I executed my application using eclipse, it was fine .<br>
<br>
For testing  purpose  i  deployed  the application  in tomcat application server.<br>
Now  it is unable to find &quot;application.properties&quot; file. and shows following in &quot;catalina.out&quot; file:<br>
java.lang.NullPointerException<br>
        at java.util.Properties$LineReader.readLine(Properties.java:418)<br>
        at java.util.Properties.load0(Properties.java:337)<br>
        at java.util.Properties.load(Properties.java:325)<br>
        at org.drools.agent.RuleAgent.loadFromProperties(RuleAgent.java:299)<br>
        at org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:256)<br>
My question is, in which location should i keep the &quot;application.properties&quot; file , so that RuleAgent can access it.<br>
<br>
Could you please tell me the solution.<br>
<br>
Thanks &amp; Regards<br>
Shekhar<br>
<br>
<br>
<br>
<br>
<br>
<br><br>
<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>
<br></blockquote></div><br>
</div>