Uploaded image for project: 'BxMS Documentation'
  1. BxMS Documentation
  2. BXMSDOC-384

KIE Spring in OSGI environment needs different setup than in non-OSGI environment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.3
    • 6.2
    • None
    • None

      Document URL:
      https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_BRMS/6.2/html/Administration_And_Configuration_Guide/chap-Integrating_Red_Hat_JBoss_BRMS_with_Red_Hat_JBoss_Fuse.html

      Section Number and Name:
      Administration And Configuration Guide / Chapter 6.

      Describe the issue:
      KIE Spring in OSGI environment needs different setup than in non-OSGI environment:
      1. The "org.drools.osgi.spring.OsgiKModuleBeanFactoryPostProcessor" should be used instead of "org.kie.spring.KModuleBeanFactoryPostProcessor" to postprocess KIE elements in OSGI environment.
      2. Do NOT install 'drools-module' feature before 'kie-spring' feature! If you did so, the 'drools-compiler' bundle would not detect packages exported by 'kie-spring', and you would see a NCDF error later. However, you can run
      'osgi:refresh drools-compiler_bundle_ID' to force drools-compiler to rebuild its Import-Package metadata.

      Suggestions for improvement:

      Additional information:

              mczernek@redhat.com Marek Czernek (Inactive)
              jpetrlik@redhat.com Jiri Petrlik
              Jiri Petrlik Jiri Petrlik
              brms-docs brms-docs (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 2 hours
                  2h
                  Remaining:
                  Time Spent - 1 hour, 20 minutes Remaining Estimate - 40 minutes
                  40m
                  Logged:
                  Time Spent - 1 hour, 20 minutes Remaining Estimate - 40 minutes
                  1h 20m