Bug 1307012 - KIE Spring in OSGI environment needs different setup than in non-OSGI environment
KIE Spring in OSGI environment needs different setup than in non-OSGI environ...
Status: NEW
Product: JBoss BRMS Platform 6
Classification: JBoss
Component: Documentation (Show other bugs)
6.2.0
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Dawn Eisner
Jiri Petrlik
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-02-12 07:53 EST by Jiri Petrlik
Modified: 2016-10-14 10:20 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jiri Petrlik 2016-02-12 07:53:37 EST
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:
Comment 1 Jiri Petrlik 2016-02-12 08:00:05 EST
Here is the merge request for this issue in documentation GIT repository [1].

[1] https://gitlab.cee.redhat.com/bxms-docs/BxMS/merge_requests/14

Note You need to log in before you can comment on or make changes to this bug.