use double \ in your config. file
ex. D:\\workspace2\\drools-example-brms\\cache
Fernando Meyer
http://fmeyer.org
fmcamargo(a)gmail.com
PGP: 0xD804DDFB
On Jul 19, 2007, at 9:31 AM, David Nogueras wrote:
Hi, I´m trying to run the brms sample and i get the next output:
RuleAgent(insuranceconfig) INFO (Thu Jul 19 14:27:44 CEST 2007):
Configuring with newInstance=true, secondsToRefresh=30
RuleAgent(insuranceconfig) INFO (Thu Jul 19 14:27:44 CEST 2007):
Configuring package provider : URLScanner monitoring URLs: http://
localhost:8080/drools-jbrms/org.drools.brms.JBRMS/package/
org.acme.insurance/David2 with local cache dir of D:\workspace2
\drools-example-brms\cache
RuleAgent(insuranceconfig) WARNING (Thu Jul 19 14:27:44 CEST 2007):
Falling back to local cache.
java.lang.NullPointerException
at org.drools.agent.FileScanner.readPackage(FileScanner.java:101)
at org.drools.agent.FileScanner.getChangeSet (FileScanner.java:79)
at org.drools.agent.FileScanner.loadPackageChanges
(FileScanner.java:57)
at org.drools.agent.URLScanner.loadPackageChanges
(URLScanner.java:93)
at org.drools.agent.RuleAgent.checkForChanges (RuleAgent.java:291)
at org.drools.agent.RuleAgent.refreshRuleBase(RuleAgent.java:259)
at org.drools.agent.RuleAgent.configure(RuleAgent.java:228)
at org.drools.agent.RuleAgent.init(RuleAgent.java:160)
at org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:169)
at org.acme.insurance.launcher.InsuranceBusiness.loadRuleBase
(InsuranceBusiness.java:26)
at org.acme.insurance.launcher.InsuranceBusiness.executeExample
(InsuranceBusiness.java:14)
at org.acme.insurance.launcher.MainClass.main(MainClass.java:13)
could someone help me?
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users