You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Martin Lichtin <li...@yahoo.com> on 2016/10/06 16:13:14 UTC
Karaf - how to see details re 'Refreshing bundles ...'
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
Re: Karaf - how to see details re 'Refreshing bundles ...'
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Martin,
Analyzing the log you will be able to find the first bundles causing the
refresh (probably due to optional import or to satisfy another kind of
requirement).
Can you share your log ? I will take a look.
Thanks,
Regards
JB
On 10/06/2016 06:13 PM, Martin Lichtin wrote:
> 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
>
--
Jean-Baptiste Onofr�
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: Re: Karaf - how to see details re 'Refreshing bundles ...'
Posted by Martin Lichtin <li...@yahoo.com>.
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 <lichtin@yahoo.com <ma...@yahoo.com>>:
>
> 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: gnodet@redhat.com <ma...@redhat.com>
> Web: http://fusesource.com <http://fusesource.com/>
> Blog: http://gnodet.blogspot.com/
>
Re: Karaf - how to see details re 'Refreshing bundles ...'
Posted by Guillaume Nodet <gn...@apache.org>.
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 <li...@yahoo.com>:
> 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: gnodet@redhat.com
Web: http://fusesource.com
Blog: http://gnodet.blogspot.com/