Re: Using Java VisualVM profiler in Karaf

2014-03-19 Thread Bengt Rodehav
I added ,org.netbeans.lib.profiler.server to the property org.osgi.framework.bootdelegation and the profiling now seems to work! Thanks Guillaume, /Bengt 2014-03-18 16:12 GMT+01:00 Bengt Rodehav be...@rodehav.com: I'll try that. Thanks for the tip. /Bengt Den 18 mar 2014 16:04 skrev

Re: Using Java VisualVM profiler in Karaf

2014-03-19 Thread Claus Ibsen
On Wed, Mar 19, 2014 at 8:48 AM, Bengt Rodehav be...@rodehav.com wrote: I added ,org.netbeans.lib.profiler.server to the property org.osgi.framework.bootdelegation and the profiling now seems to work! Ah thanks for sharing. Wonder if this can be added to the Karaf documentation somehwere -

Re: Using Java VisualVM profiler in Karaf

2014-03-19 Thread Bengt Rodehav
I agree. VisualVM is a big helper. It actually helped me to locate the problem (I think). I'll post about that in my previous thread. Guillaume, perhaps you can add this to the Karaf documentation? /Bengt 2014-03-19 9:10 GMT+01:00 Claus Ibsen claus.ib...@gmail.com: On Wed, Mar 19, 2014 at

Re: Using Java VisualVM profiler in Karaf

2014-03-19 Thread Jean-Baptiste Onofré
Agree to add this in users guide. Regards JB On 03/19/2014 09:50 AM, Bengt Rodehav wrote: I agree. VisualVM is a big helper. It actually helped me to locate the problem (I think). I'll post about that in my previous thread. Guillaume, perhaps you can add this to the Karaf documentation?

Using Java VisualVM profiler in Karaf

2014-03-18 Thread Bengt Rodehav
I'm using Karaf 2.3.4 currently with Java 6 / 64 bit (1.6.0_32). I've been using Java VisualVM to monitor threads. But I haven't managed to get the profiler to work with a Karaf process. As soon as I start the profiling I get a lot of NoClassDefFoundError's in the Karaf console. I think most of

Re: Using Java VisualVM profiler in Karaf

2014-03-18 Thread Guillaume Nodet
Have you tried adding the needed package to the org.osgi.framework.bootdelegation property ? It may help in that case. 2014-03-18 15:49 GMT+01:00 Bengt Rodehav be...@rodehav.com: I'm using Karaf 2.3.4 currently with Java 6 / 64 bit (1.6.0_32). I've been using Java VisualVM to monitor threads.

Re: Using Java VisualVM profiler in Karaf

2014-03-18 Thread Bengt Rodehav
I'll try that. Thanks for the tip. /Bengt Den 18 mar 2014 16:04 skrev Guillaume Nodet gno...@apache.org: Have you tried adding the needed package to the org.osgi.framework.bootdelegation property ? It may help in that case. 2014-03-18 15:49 GMT+01:00 Bengt Rodehav be...@rodehav.com: I'm