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("/
<div>application.properties");<br>
"application.properties" 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 "application.properties" file. and shows following in "catalina.out" 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 "application.properties" file , so that RuleAgent can access it.<br>
<br>
Could you please tell me the solution.<br>
<br>
Thanks & Regards<br>
Shekhar<br></div>