[
https://issues.apache.org/jira/browse/KARAF-3665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14499313#comment-14499313
]
Freeman Fang edited comment on KARAF-3665 at 4/17/15 6:19 AM:
--------------------------------------------------------------
With OBR resolver, if a bundle has dependency="true" attribute, this means
only install this bundle if any other bundle in this feature "depend on"(import
package exported by this bundle) it .
In Karaf 2.4.1, when OBR resolver try to resolve the bundles, it only scan the
bundles in same feature but not those in the dependent features. You run into
this issue.
We have this fixed a while ago, which should be in Karaf 2.4.2. KARAF-3433[1]
tracked it.
[1]https://issues.apache.org/jira/browse/KARAF-3433
was (Author: ffang):
With OBR resolver, if a bundle has dependency="true" attribute, this means
only install this bundle if any other bundle in this feature "depend on"(import
package exported by this bundle) it .
> war feature fails when loaded manually (OBR resolution weirdness)
> -----------------------------------------------------------------
>
> Key: KARAF-3665
> URL: https://issues.apache.org/jira/browse/KARAF-3665
> Project: Karaf
> Issue Type: Bug
> Components: karaf-feature
> Affects Versions: 2.4.1
> Reporter: Simon Kitching
> Assignee: Freeman Fang
>
> In servicemix:5.4.0 (including karaf:2.4.1), the "war" feature is by default
> in etc/org.apache.karaf.features.cfg#featuresBoot and works. However if it is
> removed from the featuresBoot list, and then later installed from the console
> a "package resolution" error occurs due to missing org.apache.xbean library -
> because the OBR resolver mysteriously suppresses installation of it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)