Bug 1174287
Summary: | OSGi: cannot deploy drools-common feature into Fuse | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Marek Winkler <mwinkler> | ||||||
Component: | Deployment | Assignee: | Ryan Zhang <rzhang> | ||||||
Status: | CLOSED EOL | QA Contact: | Marek Winkler <mwinkler> | ||||||
Severity: | urgent | Docs Contact: | |||||||
Priority: | urgent | ||||||||
Version: | 6.1.0 | CC: | kverlaen, mfusco | ||||||
Target Milestone: | ER4 | Keywords: | Regression, TestBlocker | ||||||
Target Release: | 6.1.0 | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2020-03-27 18:33:08 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Created attachment 969891 [details]
mvel2-2.2.2.Final-redhat-2.jar
Verified that 6.1.0 ER4 drools-karaf-features.xml declares dependency on org.mvel/mvel2/2.2.2.Final-redhat-2 which can be deployed into Fuse 6.1.1. Thanks! |
Created attachment 969062 [details] Exception stacktrace Description of problem: When deploying BRMS/BPM Suite bundles into Fuse, the bundles cannot be activated because there is a missing requirement in org.mvel:mvel2:2.2.2.Final-redhat-1 bundle (see the attachment for full stacktrace), which is a dependency of drools-common bundle: org.osgi.framework.BundleException: Unresolved constraint in bundle org.kie.api [257]: Unable to resolve 257.0: missing requirement [257.0] osgi.wiring.package; (osgi.wiring.package=org.drools.compiler.kie.builder.impl) [caused by: Unable to resolve 260.0: missing requirement [260.0] osgi.wiring.package; (osgi.wiring.package=org.drools.core.audit) [caused by: Unable to resolve 259.0: missing requirement [259.0] osgi.wiring.package; (osgi.wiring.package=org.mvel2.integration.impl)]] The problem disappears when I edit [1] and change mvel dependency in drools-common feature definition from <bundle>mvn:org.mvel/mvel2/2.2.2.Final-redhat-1</bundle> to <bundle>mvn:org.mvel/mvel2/2.2.2.Final</bundle> It seems that there is either a wrong requirement in mvel bundle manifest (org.mvel2.integration.impl), or there is a missing dependency (which seems to me less likely). Assigning to Ryan as it seems to be productization issue. [1] org/drools/drools-karaf-features/6.2.0.CR3-redhat-1/drools-karaf-features-6.2.0.CR3-redhat-1-features.xml Version-Release number of selected component (if applicable): BRMS 6.1.0.ER3 Fuse 6.1 How reproducible: always Steps to Reproduce: 1. Try to install drools-common feature into Fuse. Actual results: Bundle fails to activate and the above exception is thrown. Expected results: Bundle activates and no exception is thrown.