Uploaded image for project: 'JBoss BRMS Platform'
  1. JBoss BRMS Platform
  2. RHBRMS-1144

kie-camel does not load rules when installed in JBoss EAP Module

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • 6.2.0
    • 6.1.0
    • Fuse Integration
    • None

      Description of problem:
      when kie-camel and other necessary dependencies are installed in JBoss EAP Module, they are not loading the rules bundled in *.war app deployed on the same EAP instance.

      Version-Release number of selected component (if applicable):
      BPM Suite 6.1
      JBoss EAP 6.4
      lib version:
      org.kie:kie-camel:6.2.0.Final-redhat-6

      How reproducible:
      always

      Steps to Reproduce:
      1) Unzip third-party-modules.zip to your favorite location (let's say /tmp/modules).
      2) Unzip the sample-kie-service.tgz to another location and compile it using a simple 'mvn install'

      I have added these two repositories to my settings.xml in order to successfully build this project:

      A) http://repo.fusesource.com/nexus/content/groups/public/
      B) https://maven.repository.redhat.com/techpreview/all/

      3) copy the compiled sample-kie-service.war from the target folder to your eap6 deploy directory
      4) start jboss using the standalone.sh script, and specifying the extra modules folder. I use the following command:

      $ cd jboss-eap-6/bin
      $ JBOSS_MODULEPATH=../modules:/tmp/modules ./standalone.sh

      5) in server.log, you should see the timer ticking, but not the message from the rule1.drl file:

      [route2] (Camel (camel) thread #0 - timer://mytimer) Rule Execution

      6) You can also see the message "No files found for KieBase kbase1" in server.log.

      Actual results:

      Rule files bundled in a *.war are NOT loaded

      Expected results:
      Rule file bundled in a *.war are loaded

      Additional info:
      This is my *.war structure during the tests:
      http://pastebin.test.redhat.com/323151

      If I remove the provided scope of kie-camel in pom.xml and bundles everything within the *.war under web-inf/lib so my WAR structure looks like this:
      http://pastebin.test.redhat.com/323153

      Then the kie-camel loads the rule, and the camel routes executes the rule as expected.

      At first I thought this may be related to
      https://access.redhat.com/solutions/359653
      but I'd like to request technical verification, whether this is not issue within our code..

              mfusco@redhat.com Mario Fusco
              rhn-support-agiertli Anton Giertli
              Archiver:
              rhn-support-ceverson Clark Everson
              Jiri Petrlik Jiri Petrlik
              Linda Snyder Linda Snyder (Inactive)
              Jiri Petrlik Jiri Petrlik
              roger.martinez

                Created:
                Updated:
                Resolved:
                Archived: