You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Markus Rathgeb (JIRA)" <ji...@apache.org> on 2015/08/24 17:37:45 UTC
[jira] [Resolved] (KARAF-3762) feature resolver for system.bundle
(equinox) faulty
[ https://issues.apache.org/jira/browse/KARAF-3762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Markus Rathgeb resolved KARAF-3762.
-----------------------------------
Resolution: Fixed
Fix Version/s: 4.0.1
> 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é
> Fix For: 4.0.1
>
>
> 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]"; filter:="(&(osgi.identity=karaf-oh2-feature)(type=karaf.feature)(version>=1.0.0.SNAPSHOT)(version<=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; filter:="(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
(v6.3.4#6332)