Hi guys,
I'm very new to Guvnor and Drools and all these exciting tools.
I'm working my way through the example that I found here:
http://www.jboss.org/feeds/post/jboss_drools_how_to_tuning_guvnor_part_1
and everything was just fine and dandy until I had to run the java code!
Unfortunately, I get the following output:
RuleAgent(default) INFO (Tue Feb 24 17:20:57 GMT 2009): Configuring with
newInstance=false, secondsToRefresh=-1
RuleAgent(default) INFO (Tue Feb 24 17:20:57 GMT 2009): Configuring
package provider : URLScanner monitoring URLs:
http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/myNewPackage/LATEST
RuleAgent(default) EXCEPTION (Tue Feb 24 17:20:58 GMT 2009): null. Stack
trace should follow.
java.io.OptionalDataException
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1340)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at org.drools.agent.HttpClientImpl.fetchPackage(HttpClientImpl.java:59)
at org.drools.agent.URLScanner.readPackage(URLScanner.java:138)
at org.drools.agent.URLScanner.getChangeSet(URLScanner.java:110)
at org.drools.agent.URLScanner.loadPackageChanges(URLScanner.java:88)
at org.drools.agent.RuleAgent.checkForChanges(RuleAgent.java:330)
at org.drools.agent.RuleAgent.refreshRuleBase(RuleAgent.java:298)
at org.drools.agent.RuleAgent.configure(RuleAgent.java:284)
at org.drools.agent.RuleAgent.init(RuleAgent.java:208)
at org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:176)
at org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:148)
at org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:216)
at com.ioko.GuvnorTest.main(GuvnorTest.java:27)
com.ioko.Driver
But I have no idea why!!!!
Can any of you guys please please please help a newbie?
Many thanks,
Adrian M Bell