Details
-
Bug
-
Resolution: Done
-
Blocker
-
6.1.0
Description
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.