karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: Bundles not updating when its dependent bundles change
Date Sat, 27 Apr 2019 05:53:58 GMT

If you are directly using bundles (without features), you have to
refresh the bundle.

If A is resolved to B and you update B, then you have to refresh A
("flushing" the classloaders).

If you are using features, Karaf resolver is able to automatically
detects the bundles resolution graph and then refresh the required
bundles for you.


On 26/04/2019 14:47, abdelb wrote:
> I have bundles A and B. 
> A depends on B. 
> If changes are made to B, A should pick these up. 
> What's currently happening is B is being resolved before A, and I have to
> restart A for it to pick B up. 
> After this, when B is updated A doesn't pick the changes up. 
> How can I avoid this problem? I have tried adding a runtime dependency on B
> in A (in pom.xml) but still running into the same issue. 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

View raw message