Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


Feature uninstall in helium karaf

asked 2015-03-27 04:02:46 -0700

kalai gravatar image

updated 2015-05-06 00:14:46 -0700

When uninstalling a feature in the helium karaf, what function will be invoked. Where can the feature application add the hook up for the cleaning up of its resources during feature uninstall. i.e during feature uninstall bundles are removed from the karaf container. But the listeners are not closed. Where will be the hookup for the feature uninstall.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2016-05-15 23:28:44 -0700

pande.gaurav gravatar image

When a feature is uninstalled FeatureServiceImpl class is called to unload the bundlles loaded onto the karaf osgi environment. However please note Uninstalling a feature using the Karaf feature:uninstall command is not supported and can cause unexpected and undesirable behavior. For Further read refer :

edit flag offensive delete publish link more

answered 2016-05-16 05:03:38 -0700

jgoodyear gravatar image


There is no specific hook for dictating specific feature uninstall behaviour in Karaf 3.0.4 (ODL HE). We've heavily refactored the Feature Uninstall command in Karaf 4.0.x to make it capable of performing the feature uninstall in a predictable fashion. I'm hoping that OpenDaylight can update its' Karaf container to our latest version soon.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools



Asked: 2015-03-27 04:02:46 -0700

Seen: 1,239 times

Last updated: May 16 '16