Hide Forgot
Affects: Documentation (Ref Guide, User Guide, etc.) project_key: SOA The original summary of this JIRA was: "The DroolsTest program in a Drools sample project, created with JBDS 4.1.1 with the runtime supplied by SOA-P 5.2.0.ER5 fails with a class not found error" If the user creates a new Drools runtime, and defines the runtime directory as jboss-soa-p-5/jboss-as/server/[profile]/deploy/jbrules.esb Then errors such as this will result: 1) Create a new Drools project 2) Specify Drools runtime as deployed in SOA-P 5.2.0.ER5 - jboss-soa-p-5/jboss-as/server/default/deploy/jbrules.esb 3) Run DroolsTest.java Results in: java.lang.NoClassDefFoundError: com/thoughtworks/xstream/XStream at org.drools.audit.KnowledgeRuntimeLoggerProviderImpl.newFileLogger(KnowledgeRuntimeLoggerProviderImpl.java:29) at org.drools.logger.KnowledgeRuntimeLoggerFactory.newFileLogger(KnowledgeRuntimeLoggerFactory.java:52) at com.sample.DroolsTest.main(DroolsTest.java:25) Caused by: java.lang.ClassNotFoundException: com.thoughtworks.xstream.XStream at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) ... 3 more
Looks like we don't have this fix: JBRULES-2589
Link: Added: This issue depends JBRULES-2589
See: https://issues.jboss.org/browse/JBIDE-5568 The correct directory for the runtime is the top-level SOA-P dir ("jboss-soa-p-5/")
Affects: Added: Documentation (Ref Guide, User Guide, etc.)
Link: Added: This issue depends JBIDE-5568
Link: Added: This issue relates to SOA-3487
Release Notes Docs Status: Added: Documented as Known Issue Writer: Added: dlesage Release Notes Text: Added: https://issues.jboss.org/browse/SOA-3483 The Drools runtime definition must reference the ${SOA-P 5.0} top-level directory, not the ${SOA-P 5.0}/jboss-as/server/default/deploy/jbrules.esb or the user will encounter a java.lang.NoClassDefFoundError when the project is run.
I have documented this in the release notes.
Picked up for the first update to the release notes.