Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-774

KieScanner not working on EAP

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.3.0.CR1
    • 6.2.0.Final
    • None
    • None
    • Hide

      Install switchyard... not easy
      https://docs.google.com/document/d/1mEC8gDY2O0Pe3PusahJ-59VV-gzcXn0Nya9PKCu4Czo/edit

      Another option is:
      Compile the fuse-bxms-repo
      https://github.com/jboss-integration/fuse-bxms-integ/
      mvn clean install
      Go to https://github.com/jboss-integration/fuse-bxms-integ/tree/master/release/eap/fuse-integration-eap-tests
      then cd target
      there is a jboss-6-4 folder that contains all the modules installed, so it is the easiest.

      Then open the switchyard-rules-interview-container:
      https://github.com/jboss-integration/fuse-bxms-integ/tree/master/quickstarts/switchyard-rules-interview-container
      You need to edit the switchyard.xml inside of the META-INF folder:

      Add the releaseID:

      <rules:manifest>
      <rules:container baseName="org.switchyard.quickstarts.rules.interview" releaseId="org.jboss.integration.fuse.quickstarts:switchyard-rules-interview-container:1.0.0-SNAPSHOT" scan="true" sessionName="rules-interview-container"/>
      </rules:manifest>

      Scan is activated

      Then you can deploy the quickstart on eap:

      mvn install -Pdeploy

      You can execute using mvn exec:java

      Then you ll see a line on eap logs

      Modify the drl of the project.
      mvn clean install

      Show
      Install switchyard... not easy https://docs.google.com/document/d/1mEC8gDY2O0Pe3PusahJ-59VV-gzcXn0Nya9PKCu4Czo/edit Another option is: Compile the fuse-bxms-repo https://github.com/jboss-integration/fuse-bxms-integ/ mvn clean install Go to https://github.com/jboss-integration/fuse-bxms-integ/tree/master/release/eap/fuse-integration-eap-tests then cd target there is a jboss-6-4 folder that contains all the modules installed, so it is the easiest. Then open the switchyard-rules-interview-container: https://github.com/jboss-integration/fuse-bxms-integ/tree/master/quickstarts/switchyard-rules-interview-container You need to edit the switchyard.xml inside of the META-INF folder: Add the releaseID: <rules:manifest> <rules:container baseName="org.switchyard.quickstarts.rules.interview" releaseId="org.jboss.integration.fuse.quickstarts:switchyard-rules-interview-container:1.0.0-SNAPSHOT" scan="true" sessionName="rules-interview-container"/> </rules:manifest> Scan is activated Then you can deploy the quickstart on eap: mvn install -Pdeploy You can execute using mvn exec:java Then you ll see a line on eap logs Modify the drl of the project. mvn clean install

      There is an exception when the Kie Scanner is activated.

      It happens when the switchyard-rules-interview-container is deployed on eap.

      Exception:

      https://gist.github.com/dvirgiln/32bdba1ff39ce6b27438

              mfusco@redhat.com Mario Fusco
              virchete_jira David virgil naranjo (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: