Re: bundle:refresh

2014-09-07 Thread Tim Jones
Can you please clarify the expected behaviour as we are not seeing the osgi:refresh command refresh dependent bundles as you 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

bundle:refresh

2014-03-27 Thread asookazian2
what is the purpose of the refresh command in Karaf 3.0.x? What effect does it have on the bundle lifecycle? I have a WAB (mega bundle WAR) that I just re-built using mvn. I run 'update xxx'. Do I need to run 'refresh xxx' as well? Typically I update WAB bundle and halt Karaf and restart

Re: bundle:refresh

2014-03-27 Thread Freeman Fang
Hi, If a bundle(Let's say bundleA) isn't self-contained, which means other bundles depend on this bundle, then install bundleA won't take effect immediately, you do need refresh bundleA, this will cause all bundles depending on bundleA refresh(re-resolved) also, so that your changes in bundleA