karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Rathgeb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-3762) feature resolver for system.bundle (equinox) faulty
Date Mon, 24 Aug 2015 15:36:45 GMT

    [ https://issues.apache.org/jira/browse/KARAF-3762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14709462#comment-14709462

Markus Rathgeb commented on KARAF-3762:

This is fixed at least with 4.0.1 (do not remember, but IMHO it was fixed with 4.0.0).

> feature resolver for system.bundle (equinox) faulty
> ---------------------------------------------------
>                 Key: KARAF-3762
>                 URL: https://issues.apache.org/jira/browse/KARAF-3762
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature, karaf-kar
>    Affects Versions: 4.0.0.M2
>            Reporter: Markus Rathgeb
>            Assignee: Jean-Baptiste Onofré
> I want to create a feature, that contains a jar (third party one). 
> The manifest of that bundle contains: 
> Require-Bundle: system.bundle 
> If I am using "karaf.framework=felix" all seems to be working. 
> If I am using "karaf.framework=equinox" and install the kar / feature that contains that
bundle I get the following message: 
> Error executing command: Unable to resolve root: missing requirement [root] osgi.identity;
osgi.identity=karaf-oh2-feature; type=karaf.feature; version="[1.0.0.SNAPSHOT,1.0.0.SNAPSHOT]";
[caused by: Unable to resolve karaf-oh2-feature/1.0.0.SNAPSHOT: missing requirement [karaf-oh2-feature/1.0.0.SNAPSHOT]
osgi.identity; osgi.identity=javax.activation; type=osgi.bundle; version="[1.1.0.v201211130549,1.1.0.v201211130549]";
resolution:=mandatory [caused by: Unable to resolve javax.activation/1.1.0.v201211130549:
missing requirement [javax.activation/1.1.0.v201211130549] osgi.wiring.bundle; osgi.wiring.bundle=system.bundle;
> I can install that bundle using "bundle:install".
> If I retry to install the feature, I can install it now. 
> Here you could find a kar that demonstrate the problem: 
> https://drive.google.com/file/d/0Bx99QXY8p6gvY3BoMXlZeXRIOWs/view?usp=sharing
> kar:install should write the above error message in your log. 
> Installing the feature should trigger the error, too. 
> You can extract the jar (javax.activation) of that kar and will see, that you are able
to install it using bundle:install. 

This message was sent by Atlassian JIRA

View raw message