After reading http://karaf.922171.n3.nabble.com/bundle-refresh-td4032433.html
I am confused with Freeman's answer "you do need refresh bundleA, this will
cause all bundles depending on bundleA refresh(re-resolved) also". 

Can someone please clarify the expected behaviour as we are not seeing the
osgi:refresh command refresh dependent bundles as described e.g given

Bundle A version 1.2.0
Bundle B version 1.2.0

where bundle B references services in A (i.e. B dependent upon A)

If I install and start a new Bundle A version 1.2.1 then refreshing Bundle A
does not seem to rewire the dependent bundle B (logging the
OsgiApplicationEvents via a OsgiBundleApplicationContextListener also shows
no dependent bundles being refreshed). But if I refresh bundle B then the
later version 1.2.1 of bundle A is now referenced from B. 



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Confusion-with-installing-and-refreshing-bundles-tp4035197.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to