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 <[email protected]>:

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

Reply via email to