osgi:uninstall does not affect other bundles wiring information until rebooting the karaf runtime

Solution Verified - Updated -

Issue

Even after uninstalling the geronimo-ws-metadata_2.0_spec bundle, the other bundle wiring with the geronimo-ws-metadata_2.0_spec bundle still keeps the wiring info.

JBossFuse:karaf@root> osgi:install -s mvn:org.apache.geronimo.specs/geronimo-ws-metadata_2.0_spec/1.1.3
Bundle ID: 292
JBossFuse:karaf@root> features:install camel-soap
JBossFuse:karaf@root>
JBossFuse:karaf@root> osgi:install -s mvn:com.mycompany/camel-blueprint/1.0.0-SNAPSHOT
Bundle ID: 294
JBossFuse:karaf@root>
JBossFuse:karaf@root> list| tail -n 3
[ 292] [Active     ] [            ] [       ] [   80] Web Services Metadata 2.0 (1.1.3)
[ 293] [Active     ] [            ] [       ] [   50] camel-soap (2.17.0.redhat-630495)
[ 294] [Active     ] [Created     ] [       ] [   80] Empty Camel Blueprint Example [case02898450] (1.0.0.SNAPSHOT)
JBossFuse:karaf@root>    
JBossFuse:karaf@root> show-tree 293 | grep geronimo-ws
+- org.apache.geronimo.specs.geronimo-ws-metadata_2.0_spec [292]
JBossFuse:karaf@root> show-tree 294 | grep geronimo-ws
+- org.apache.geronimo.specs.geronimo-ws-metadata_2.0_spec [292]
   +- org.apache.geronimo.specs.geronimo-ws-metadata_2.0_spec [292]
JBossFuse:karaf@root>
JBossFuse:karaf@root> osgi:uninstall 292
JBossFuse:karaf@root>
JBossFuse:karaf@root> show-tree 293 | grep geronimo-ws
+- org.apache.geronimo.specs.geronimo-ws-metadata_2.0_spec [292]
JBossFuse:karaf@root> show-tree 294 | grep geronimo-ws
+- org.apache.geronimo.specs.geronimo-ws-metadata_2.0_spec [292]
   +- org.apache.geronimo.specs.geronimo-ws-metadata_2.0_spec [292]
JBossFuse:karaf@root>

Environment

  • Red Hat Fuse
    • 6.3 R18

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In