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

Kie-Internal requires org.kie.scanner mandatory import

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 6.4.0.GA
    • None
    • Kie-Server
    • All

    • DR1
    • Hide

      Deploy the profile with the container already started or refresh the bundle once it starts.

      Show
      Deploy the profile with the container already started or refresh the bundle once it starts.
    • Hide

      Deploy drools + lab2 example into Fuse with Fabric on the same profile.

      Show
      Deploy drools + lab2 example into Fuse with Fabric on the same profile.

    Description

      Restarting a fuse server with a deployed KJAR is throwing a generic:

      Caused by: java.lang.RuntimeException: Cannot find KieModule: com.redhat.courses.bxmsfuse.lab2:kie-module-kjar:3.0.3

      Attaching a debugger, it's really due to a ClassNotFoundException leading to the use of a DummyKieScanner.

      pool-com.redhat.courses.bxmsfuse.lab2.kie-ci-example-2.0.3-thread-1[1] print e.cause.cause

      e.cause.cause = "java.lang.ClassNotFoundException: org.kie.scanner.KieScannerFactoryServiceImpl not found by org.kie.internalapi [385]"

      The ClassNotFoundException is on org.kie.scanner which is an optional import on org.kie.internalapi.

      When the server starts, doing a dynamic-import on bundle 425 shows it didn't import org.kie.scanner.

      Fabric8:admin@brmsnode> dynamic-import 425
      Disabling dynamic imports on bundle org.kie.internalapi [425]

      Additional packages wired since dynamic import was enabled:

      • org.kie.scanner

      Where 425 is:

      Fabric8:admin@brmsnode> osgi:headers 445

      KIE Internal (445)

      Modifying 'kie-internal-6.3.0.Final-redhat-12.jar' and changing the import to 'org.kie.scanner' resolves the restart issue.

      Attachments

        Issue Links

          Activity

            People

              mfusco@redhat.com Mario Fusco
              rhn-support-mrobson Matt Robson
              Archiver:
              rhn-support-ceverson Clark Everson
              Jiri Petrlik Jiri Petrlik
              Jiri Petrlik Jiri Petrlik

              Dates

                Created:
                Updated:
                Resolved:
                Archived:

                PagerDuty