LibraryToggle FramesPrintFeedback

To uninstall a feature, invoke the features:uninstall command as follows:

karaf@root> features:uninstall example-camel-bundle

After uninstalling, the feature will still be visible when you invoke features:list, but its status will now be flagged as [uninstalled].

If you want to provision copies of the Apache Karaf for deployment on multiple hosts, you might be interested in adding a feature to the boot configuration, which determines the collection of features that are installed when Apache Karaf boots up for the very first time.

The configuration file, /etc/org.apache.felix.karaf.features.cfg, in your install directory contains the following settings:

This configuration file has two properties:

You can modify the configuration to customize the features that are installed as Fuse ESB starts up. You can also modify this configuration file, if you plan to distribute Fuse ESB with pre-installed features.


This method of adding a feature is only effective the first time a particular Apache Karaf instance boots up. Any changes made subsequently to the featuresRepositories setting and the featuresBoot setting are ignored, even if you restart the Apache Karaf.

You could force the Apache Karaf instance to revert back to its initial state, however, by deleting the complete contents of the InstallDir/data/cache (thereby losing all of the Apache Karaf instance's custom settings).

Comments powered by Disqus
loading table of contents...