karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bengt Rodehav <be...@rodehav.com>
Subject Re: Using Java VisualVM profiler in Karaf
Date Tue, 18 Mar 2014 15:12:22 GMT
I'll try that. Thanks for the tip.

/Bengt
Den 18 mar 2014 16:04 skrev "Guillaume Nodet" <gnodet@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 <bengt@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. 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
>> them refer to the same class:
>>
>> Exception in thread "qtp1732535673-50" java.lang.NoClassDefFoundError:
>> org/netbeans/lib/profiler/server/ProfilerRuntimeCPUFullInstr
>>         at
>> org.eclipse.jetty.io.nio.SelectorManager$SelectSet$1.run(SelectorManager.java:716)
>>         at
>> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
>>         at
>> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
>>         at java.lang.Thread.run(Thread.java:662)
>>
>> Has anyone got the VisualVM to work with Karaf?
>>
>> /Bengt
>>
>
>

Mime
View raw message