This is a classpath problem for sure. Try deleting the MVEL jar and downloading a fresh one, version 1.3.9, just to make sure it is not corrupt. Also, it would be good to check for eventual classpath clashes.

2009/4/25 <rsundaar@aretus.biz>
Hi,
 
I am using Drools 4.0.7 and was able to successfully create a knowledgebase. I am trying to install the knowledgebase in tomcat/axis2. I am running into problems here. The exception is below:
 
org.drools.RuntimeDroolsException: Unable to load dialect 'org.drools.rule.build
er.dialect.mvel.MVELDialectConfiguration:mvel'
        at org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBui
lderConfiguration.java:160)
        at org.drools.compiler.PackageBuilderConfiguration.buildDialectConfigura
tionMap(PackageBuilderConfiguration.java:146)
        at org.drools.compiler.PackageBuilderConfiguration.init(PackageBuilderCo
nfiguration.java:121)
 
 
The files in the lib directory in the aar file are below:
 
C:\Users\rsundaar\projects\temp\SimpleService>jar tvf SimpleService.aar
     0 Sat Apr 25 21:23:36 EDT 2009 META-INF/
    71 Sat Apr 25 21:23:36 EDT 2009 META-INF/MANIFEST.MF
     0 Sat Apr 25 07:14:54 EDT 2009 com/
     0 Sat Apr 25 07:14:54 EDT 2009 com/satsoc/
     0 Sat Apr 25 08:20:12 EDT 2009 com/satsoc/prototype/
  1216 Sat Apr 25 07:54:36 EDT 2009 com/satsoc/prototype/Message.class
  2293 Sat Apr 25 21:22:14 EDT 2009 com/satsoc/prototype/SimpleService.class
     0 Thu Apr 23 06:34:56 EDT 2009 conf/
     0 Sat Apr 25 20:29:14 EDT 2009 lib/
 92015 Sat Mar 21 17:06:18 EDT 2009 lib/antlr-runtime.jar
109131 Fri Mar 20 23:56:50 EDT 2009 lib/drools-analytics-4.0.7.jar
 10618 Fri Mar 20 23:56:50 EDT 2009 lib/drools-ant-4.0.7.jar
560267 Fri Mar 20 23:56:50 EDT 2009 lib/drools-compiler-4.0.7.jar
1096031 Fri Mar 20 23:56:48 EDT 2009 lib/drools-core-4.0.7.jar
 78626 Fri Mar 20 23:56:48 EDT 2009 lib/drools-decisiontables-4.0.7.jar
 23499 Fri Mar 20 23:56:48 EDT 2009 lib/drools-jsr94-4.0.7.jar
 13749 Sat Mar 21 17:06:18 EDT 2009 lib/jsr94.jar
121070 Sat Mar 21 17:06:18 EDT 2009 lib/junit.jar
499068 Sat Mar 21 17:06:18 EDT 2009 lib/jxl.jar
870188 Sat Mar 21 17:06:18 EDT 2009 lib/mvel.jar
12745047 Sat Mar 21 16:55:50 EDT 2009 lib/org.drools.eclipse_4.0.7.jar
4372548 Sat Mar 21 15:35:48 EDT 2009 lib/org.eclipse.jdt.core_3.4.4.v_894_R34x.j
ar
895924 Sat Mar 21 17:06:18 EDT 2009 lib/xercesImpl.jar
109318 Sat Mar 21 17:06:18 EDT 2009 lib/xml-apis.jar
119888 Sat Mar 21 17:06:18 EDT 2009 lib/xpp3.jar
 24677 Sat Mar 21 21:53:52 EDT 2009 lib/xpp3_min.jar
 
 
I have looked through some of the earlier postings. Based on that I have made sure, mvel.jar and org.eclipse.jdt.core_3.4.4.v_894_R34x.jar are in the lib directory and still get the same error.
 
Any clues? I would appreciate any help I can get from you!!
 
Thanks,
Ravi.

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users




--
 Edson Tirelli
 JBoss Drools Core Development
 JBoss, a division of Red Hat @ www.jboss.com