Ask Your Question
0

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
1

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 :https://www.opendaylight.org/installing-features-getting-started-guide

edit flag offensive delete publish link more
0

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

jgoodyear gravatar image

Hi,

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

Follow
2 followers

Stats

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

Seen: 849 times

Last updated: May 16 '16