Bug 1174287 - OSGi: cannot deploy drools-common feature into Fuse
Summary: OSGi: cannot deploy drools-common feature into Fuse
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Deployment
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ER4
: 6.1.0
Assignee: Ryan Zhang
QA Contact: Marek Winkler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-15 14:57 UTC by Marek Winkler
Modified: 2020-03-27 18:33 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 18:33:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Exception stacktrace (6.26 KB, text/plain)
2014-12-15 14:57 UTC, Marek Winkler
no flags Details
mvel2-2.2.2.Final-redhat-2.jar (989.82 KB, application/zip)
2014-12-17 05:20 UTC, Ryan Zhang
no flags Details

Description Marek Winkler 2014-12-15 14:57:17 UTC
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.

Comment 5 Ryan Zhang 2014-12-17 05:20:08 UTC
Created attachment 969891 [details]
mvel2-2.2.2.Final-redhat-2.jar

Comment 7 Marek Winkler 2015-01-20 13:23:24 UTC
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!


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