karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KARAF-4356) Unable to uninstall feature that was not directly installed
Date Tue, 01 Mar 2016 10:47:18 GMT

     [ https://issues.apache.org/jira/browse/KARAF-4356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Guillaume Nodet resolved KARAF-4356.
    Resolution: Won't Fix
      Assignee: Guillaume Nodet

If the {{cxf}} feature indicates that it requires the {{cxf-transport-jms}} feature and list
it as a dependency, you won't be able to uninstall it.
That's not a bug, but the expected behaviour.

> Unable to uninstall feature that was not directly installed
> -----------------------------------------------------------
>                 Key: KARAF-4356
>                 URL: https://issues.apache.org/jira/browse/KARAF-4356
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 4.0.4
>            Reporter: Keith Wire
>            Assignee: Guillaume Nodet
> To reproduce do the following:
> unzip apache-karaf-4.0.4
> {code}
> karaf@root()> feature:repo-add cxf 3.1.4
> karaf@root()> feature:install cxf
> karaf@root()> feature:uninstall cxf-transports-jms/3.1.4
> {code}
> The FeatureService will not attempt to uninstall `cxf-transports-jms` because it is not
in the requirements list. If that feature is installed directly (which adds it to the requirements
list), and then uninstalled, the bundles are still not stopped.  The only way to stop the
bundles defined within a given feature, is to install that feature directly, and no other
features that refer to it (ie don't install the root `cxf` feature)

This message was sent by Atlassian JIRA

View raw message