I have upgrade my application to use the milestone 2
code and am having a problem loading a package from guvnor via the rule
agent. I am getting a class not found exception for
org.drools.rule.PackageCompilationData. Here is the stack from the app.
Looking at the code it appears the PackageCompilationData has been
removed.
RuleAgent(Drools) INFO (Wed Oct 01 11:55:19 EDT 2008): Configuring with
newInstance=false, secondsToRefresh=60
RuleAgent(Drools) INFO (Wed Oct 01 11:55:19 EDT 2008): Configuring
package provider : URLScanner monitoring URLs:
http://localhost:8080/drools-guvnor
/org.drools.guvnor.Guvnor/package/com.sungard.cmdb.rules/0.7-SNAPSHOT
PackageName: com.sungard.cmdb.rules
PackageVersion: 0.7-SNAPSHOT
PackageIsLatest: false
PackageIsSource: false
RuleAgent(Drools) EXCEPTION (Wed Oct 01 11:55:22 EDT 2008):
org.drools.rule.PackageCompilationData. Stack trace should follow.
java.lang.ClassNotFoundException: org.drools.rule.PackageCompilationData
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at
org.drools.common.DroolsObjectInputStream.resolveClass(DroolsObjectInputStream.java:85)
at
org.drools.common.DroolsObjectInputStream.resolveClass(DroolsObjectInputStream.java:97)
at
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
at
java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at org.drools.rule.Package.readExternal(Package.java:198)
at
java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751)
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at
org.drools.util.DroolsStreamUtils.streamIn(DroolsStreamUtils.java:185)
at
org.drools.util.DroolsStreamUtils.streamIn(DroolsStreamUtils.java:154)
at
org.drools.agent.HttpClientImpl.fetchPackage(HttpClientImpl.java:47)
at org.drools.agent.URLScanner.readPackage(URLScanner.java:142)
at org.drools.agent.URLScanner.getChangeSet(URLScanner.java:114)
at
org.drools.agent.URLScanner.loadPackageChanges(URLScanner.java:90)
at
org.drools.agent.RuleAgent.checkForChanges(RuleAgent.java:393)
at
org.drools.agent.RuleAgent.refreshRuleBase(RuleAgent.java:345)
at org.drools.agent.RuleAgent.configure(RuleAgent.java:330)
at org.drools.agent.RuleAgent.init(RuleAgent.java:246)
at org.drools.agent.RuleAgent.init(RuleAgent.java:195)
at org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:188)
at org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:156)
thanks
dave