karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Kitching (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-3665) war feature fails when loaded manually (OBR resolution weirdness)
Date Mon, 20 Apr 2015 15:13:59 GMT

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

Simon Kitching commented on KARAF-3665:

Thanks very much, Freeman. Sorry for the duplicate bugreport; I didn't find the original.

Potentially useful info for others using Karaf-2.4.1 (eg when using servicemix-5.4.0): OBR
can be turned off by editing $servicemix/etc/startup.properties and commenting out the lines
under comment "enabling features OBR resolver support". This ensures that all bundles listed
in a <feature> are installed, even when labelled with "dependency=true".

> 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

View raw message