Re: Re: Karaf - how to see details re 'Refreshing bundles ...'

2016-10-09 Thread Martin Lichtin

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 >:

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: gno...@redhat.com 
Web: http://fusesource.com 
Blog: http://gnodet.blogspot.com/





Re: Karaf - how to see details re 'Refreshing bundles ...'

2016-10-06 Thread Guillaume Nodet
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 :

> 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: gno...@redhat.com
Web: http://fusesource.com
Blog: http://gnodet.blogspot.com/


Re: Karaf - how to see details re 'Refreshing bundles ...'

2016-10-06 Thread Jean-Baptiste Onofré

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é
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com