<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Diablo_UK wrote:
<blockquote cite="mid:22202798.post@talk.nabble.com" type="cite">
  <pre wrap="">Just done a little bit more digging and it seems that the exception is
occuring when the package is attempted to be read.

If I point a browser at the url, I get the "opening package" dialog from the
browser.  Does this mean that Guvnor hasn't generated the package correctly?

Anyone got *any* ideas?
  </pre>
</blockquote>
Rules Dev is for the development of drools, not for questions about the
use of drools. Please ask this on the user mailing list, which is
detailed in the link below. Please also read the 17 netiquette points.<br>
<a class="moz-txt-link-freetext" href="http://www.jboss.org/drools/lists.html">http://www.jboss.org/drools/lists.html</a><br>
"The user mailing list is for general user querries about drools and
how
to use and it problems with using it. The dev mailing list is for more
hard core discussions about about developing drools itself and general
rules/ai theory that might apply to future drools features."
<blockquote cite="mid:22202798.post@talk.nabble.com" type="cite">
  <pre wrap="">
Diablo_UK wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">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:

<a class="moz-txt-link-freetext" href="http://www.jboss.org/feeds/post/jboss_drools_how_to_tuning_guvnor_part_1">http://www.jboss.org/feeds/post/jboss_drools_how_to_tuning_guvnor_part_1</a>

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: 
<a class="moz-txt-link-freetext" href="http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/myNewPackage/LATEST">http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/myNewPackage/LATEST</a>
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

    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
<br>
</body>
</html>