No, there is nothing that will tell you.
And this is nothing Karaf specific.
Per OSGi spec (and the underlying felix or equinox framework),
if you update a bundle while another bundle still holds references to the
original bundle, those
references will stay until you do a new resolve. This is for
Package-Imports only, services are usually stopped and started again.

regards, Achim

2015-02-13 20:15 GMT+01:00 asookazian2 <[email protected]>:

> Hi with karaf 3.0.2.
>
> assume we have bundleA (a REST API) which uses bundleB (a DAO API).  I have
> new versions of these bundles from a maven build.  I bundle:update B then
> bundle:update A.  Cmd is update <bundleid> file:/path/to/bundle.
>
> Do I need to also subsequently issue bundle:refresh and/or bundle:resolve
> and/or bundle:restart to effect the "loading/use" of the new versions of
> these bundles?
>
> How do you know which version of a particular bundle is in use by karaf?
> Is
> there a way to check this in the console?
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/bundle-update-tp4038534.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>



-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

Reply via email to