I'm with Karaf 3.0.8.
To find out why a bundle is refreshed, set

  org.apache.karaf.features.internal.BundleManager=DEBUG

This will tell you the reason. Such as:

DEBUG | BundleManager | Refeshing bundle 
org.apache.servicemix.bundles.jaxb-impl (76) to solve the following optional 
imports
DEBUG | BundleManager |      com.sun.xml.fastinfoset.sax;resolution:=optional
DEBUG | BundleManager |      com.sun.xml.fastinfoset.stax;resolution:=optional
DEBUG | BundleManager |      org.jvnet.fastinfoset;resolution:=optional


On 06.10.2016 20:12, Guillaume Nodet wrote:
Which version of karaf ?
In karaf >= 4, the reason should be printed if you use the --verbose flag on 
the command.

2016-10-06 18:13 GMT+02:00 Martin Lichtin <[email protected] 
<mailto:[email protected]>>:

    Hi

    I sometimes see this "Refreshing bundles ... " output when installing a 
feature. E.g.:

    Refreshing bundles org.apache.servicemix.bundles.jaxb-impl (80)

    Can you help me figure out what is causing the refresh? There must a logic 
somewhere.
    Ideally, is there a debug log that I can turn on to see more details?

    Thanks
    - Martin




--
------------------------
Guillaume Nodet
------------------------
Red Hat, Open Source Integration

Email: [email protected] <mailto:[email protected]>
Web: http://fusesource.com <http://fusesource.com/>
Blog: http://gnodet.blogspot.com/


Reply via email to