Bug 1297851 - Deployment of infinispan-remote in Karaf fails due to missing requirement org.slf4j.impl
Summary: Deployment of infinispan-remote in Karaf fails due to missing requirement org...
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Build
Version: 6.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: CR2
: 6.6.0
Assignee: Tristan Tarrant
QA Contact: Martin Gencur
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-12 15:51 UTC by Jiri Holusa
Modified: 2022-05-31 22:24 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description Jiri Holusa 2016-01-12 15:51:38 UTC
After resolving https://bugzilla.redhat.com/show_bug.cgi?id=1285808 , new thing raised. When deploying tests with infinispan-remote in Karaf (both 2.x or 3.0.0), I get following exception:

Could not start bundle mvn:org.infinispan/infinispan-remote/6.4.0.Final-redhat-1 in feature(s) infinispan-remote-6.4.0.Final-redhat-1: Unresolved constraint in bundle org.infinispan.remote [54]: Unable to resolve 54.0: missing requirement [54.0] osgi.wiring.package; (osgi.wiring.package=org.slf4j.impl)

The trouble is that infinispan-remote's (6.6.0.CR1) MANIFEST.MF contains 
Import-Package: ... resolution:=optional,org.slf4j.impl

I checked infinispan-remote's MANIFEST.MF in 6.6.0.ER1, where it worked, and there isn't the impl package, but:
Import-Package: ... resolution:=optional,org.slf4j,org.slf4j.spi

When I try to replace the string from CR1 by the string from ER1, everything works fine.

Comment 1 Martin Gencur 2016-01-12 15:56:17 UTC
This one looks like the cause: https://bugzilla.redhat.com/show_bug.cgi?id=1266831


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