Uploaded image for project: 'JBoss Enterprise SOA Platform'
  1. JBoss Enterprise SOA Platform
  2. SOA-3483

Drools runtime definition must reference ${SOA-P 5.0} top-level directory, not the ${SOA-P 5.0}/jboss-as/server/default/deploy/jbrules.esb

    Details

    • Affects:
      Documentation (Ref Guide, User Guide, etc.)
    • Release Notes Text:
      Hide
      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.
      Show
      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.
    • Release Notes Docs Status:
      Documented as Known Issue

      Description

      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dlesage David Le Sage
                  Reporter:
                  ldimaggio Len DiMaggio
                  Writer:
                  David Le Sage
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: