sorry, you need to get the latest core version snapshot to correct this problem, plus the new brms as well <br><br><br><div><span class="gmail_quote">On 9/30/07, <b class="gmail_sendername">Fernando Meyer</b> <<a href="mailto:fmcamargo@gmail.com">
fmcamargo@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi, <br><br>Are you using the latest brms build ? if the anwser is not, please download the latest version from
<a href="https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/
</a> it was a missing class in the drools-core library. <div><span class="e" id="q_11558e48e8cb1f51_1"><br><br><div><span class="gmail_quote">On 9/30/07, <b class="gmail_sendername">Martin Fuzzey</b> <<a href="mailto:mfuzzey@neuf.fr" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
mfuzzey@neuf.fr</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>I am trying to run the insurance example with the brms<br>after replacing the client mvel jar with the one used by the brms web
<br>app as mentionned on this list I get this exeception (full stacktrace below)<br><br>java.lang.ClassNotFoundException:<br>org.drools.rule.builder.dialect.mvel.MVELDialect$ModifyInterceptor<br><br>adding the drools-compiler-4.0.1.jar
to the client classpath fixes this<br>but I thought the rules were supposed to be compiled by the brms. Indeed<br>the documentation says :<br><br>The rule agent is a component which is embedded in the core runtime of<br>
the rules engine. To use this, you don't need any extra components. In<br>fact, if you are using the BRMS, your application should only need to<br>include the drools-core.jar in its classpath, and no other rules<br>specific dependencies.
<br><br>so am I misunderstanding something or is this a bug?<br><br>Thanks,<br><br>Martin Fuzzey<br><br><br>RuleAgent(insuranceconfig) INFO (Sun Sep 30 14:02:33 CEST 2007):<br>Configuring with newInstance=true, secondsToRefresh=30
<br>RuleAgent(insuranceconfig) INFO (Sun Sep 30 14:02:33 CEST 2007):<br>Configuring package provider : URLScanner monitoring URLs:<br><a href="http://localhost:8080/drools-jbrms/org.drools.brms.JBRMS/package/org.acme.insurance/MF1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://localhost:8080/drools-jbrms/org.drools.brms.JBRMS/package/org.acme.insurance/MF1</a><br>with local cache dir of /home/martin/tmp<br>RuleAgent(insuranceconfig) EXCEPTION (Sun Sep 30 14:02:34 CEST 2007):<br>org.drools.rule.builder.dialect.mvel.MVELDialect$ModifyInterceptor
.<br>Stack trace should follow.<br>java.lang.ClassNotFoundException:<br>org.drools.rule.builder.dialect.mvel.MVELDialect$ModifyInterceptor<br> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)<br> at
java.security.AccessController.doPrivileged(Native Method)<br> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)<br> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)<br> at sun.misc.Launcher$AppClassLoader.loadClass
(Launcher.java:276)<br> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)<br> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)<br> at java.lang.Class.forName0(Native Method)
<br>
at java.lang.Class.forName(Class.java:247)<br> at<br>java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:604)<br> at<br>org.drools.common.DroolsObjectInputStream.resolveClass(DroolsObjectInputStream.java
:74)<br> at<br>java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)<br> at<br>java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)<br> at<br>java.io.ObjectInputStream.readOrdinaryObject
(ObjectInputStream.java:1732)<br> at<br>java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)<br> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)<br> at java.util.HashMap.readObject
(HashMap.java:1029)<br> at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)<br> at<br>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br> at java.lang.reflect.Method.invoke
(Method.java:597)<br> at<br>java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)<br> at<br>java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)<br> at<br>java.io.ObjectInputStream.readOrdinaryObject
(ObjectInputStream.java:1753)<br> at<br>java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)<br> at<br>java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)<br> at
<br>
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)<br> at<br>java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)<br> at<br>java.io.ObjectInputStream.readObject0(ObjectInputStream.java
:1329)<br> at<br>java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)<br> at<br>java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)<br> at<br>java.io.ObjectInputStream.readOrdinaryObject
(ObjectInputStream.java:1753)<br> at<br>java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)<br> at<br>java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)<br> at
<br>
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)<br> at<br>java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)<br> at<br>java.io.ObjectInputStream.readObject0(ObjectInputStream.java
:1329)<br> at<br>java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)<br> at<br>java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)<br> at<br>java.io.ObjectInputStream.readOrdinaryObject
(ObjectInputStream.java:1753)<br> at<br>java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)<br> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)<br> at java.util.HashMap.readObject
(HashMap.java:1029)<br> at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)<br> at<br>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso<br>rImpl.java:25)<br> at java.lang.reflect.Method.invoke
(Method.java:597)<br> at<br>java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)<br> at<br>java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)<br> at<br>java.io.ObjectInputStream.readOrdinaryObject
(ObjectInputStream.java:1753)<br> at<br>java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)<br> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)<br> at org.drools.rule.Package.readExternal
(Package.java:189)<br> at<br>java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792)<br> at<br>java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751)<br> at<br>java.io.ObjectInputStream.readObject0
(ObjectInputStream.java:1329)<br> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)<br> at<br>org.drools.agent.HttpClientImpl.fetchPackage(HttpClientImpl.java:54)<br> at org.drools.agent.URLScanner.readPackage
(URLScanner.java:137)<br> at org.drools.agent.URLScanner.getChangeSet(URLScanner.java:109)<br> at<br>org.drools.agent.URLScanner.loadPackageChanges(URLScanner.java:88)<br> at org.drools.agent.RuleAgent.checkForChanges
(RuleAgent.java:327)<br> at org.drools.agent.RuleAgent.refreshRuleBase(RuleAgent.java:295)<br> at org.drools.agent.RuleAgent.configure(RuleAgent.java:281)<br> at org.drools.agent.RuleAgent.init(RuleAgent.java
:205)<br> at org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:173)<br> at org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:145)<br> at org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java
:213)<br> at<br>org.acme.insurance.launcher.InsuranceBusiness.loadRuleBase(InsuranceBusiness.java:26)<br> at<br>org.acme.insurance.launcher.InsuranceBusiness.executeExample(InsuranceBusiness.java:14)<br> at
org.acme.insurance.launcher.MainClass.main(MainClass.java:13)<br>RuleAgent(insuranceconfig) WARNING (Sun Sep 30 14:02:35 CEST 2007): Was<br>unable to load a class when loading a package. Perhaps it is missing<br>from this appl
<br><br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rules-users@lists.jboss.org
</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote></div><br><br clear="all"><br></span></div><span class="sg">-- <br>Fernando Meyer <a href="http://fmeyer.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://fmeyer.org</a><br>JBoss Rules Core Developer<br><a href="mailto:fmcamargo@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
fmcamargo@gmail.com</a>
</span></blockquote></div><br><br clear="all"><br>-- <br>Fernando Meyer <a href="http://fmeyer.org">http://fmeyer.org</a><br>JBoss Rules Core Developer<br><a href="mailto:fmcamargo@gmail.com">fmcamargo@gmail.com</a>