Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 214401 - Exception in thread "server-timer1" java.lang.NoClassDefFoundError: org/netbeans/lib/profiler/server/ProfilerRuntimeCPUFullInstr
Exception in thread "server-timer1" java.lang.NoClassDefFoundError: org/netbe...
Product: profiler
Classification: Unclassified
Component: Ide
PC Windows 7
: P4 (vote)
Assigned To: issues@profiler
Depends on:
  Show dependency treegraph
Reported: 2012-06-18 20:53 UTC by hborda
Modified: 2015-09-01 08:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description hborda 2012-06-18 20:53:05 UTC
I'm running JBoss 7 and JDK 1.7.0_03-b05.

I'm running JVisualVM, which most of the features work very well, but when I try to profile my application then I get the following on the JBoss console:

Profiler Agent: Redefining 17 classes at idx 100, out of total 117
16:16:59,195 ERROR [stderr] (server-timer1) Exception in thread "server-timer1"java.lang.NoClassDefFoundError: org/netbeans/lib/profiler/server/ProfilerRuntimeCPUFullInstr
16:16:59,195 ERROR [stderr] (server-timer1)     at$
16:16:59,195 ERROR [stderr] (server-timer1)     at java.util.TimerThread.mainLoop(
16:16:59,195 ERROR [stderr] (server-timer1)     at
I did a massive search and I could not find anything relevant to my case.

I'm really sorry if this is not the right forum to post this question.
Comment 1 hborda 2012-06-19 11:45:59 UTC
Petr, I see you have been assigned this, let me share with you what I already tried.

1- I copy jfluid-serverjar and jfluid-server-15.jar to the the "jboss" lib, also to the "standalone" lib and also to "my web application" lib. I always got the same exception.
2 - I modified JBoss standalone.bat and added this line
SET JBOSS_CLASSPATH=%JAVA_HOME%\lib\visualvm\profiler\lib\jfluid-server.jar;%JBOSS_CLASSPATH%
and I got the same exception.

Please let me know what else I could do to help and I will happy to do so.

Regards, Hugo
Comment 2 Petr Hejl 2012-12-18 14:59:56 UTC
Tomasi any advice on this? I'm not really familiar with profiler.
Comment 3 Tomas Hurka 2015-09-01 08:14:49 UTC
You need to modify JBoss startup arguments. JBoss has to be started with "-Djboss.modules.system.pkgs=org.jboss.byteman,org.netbeans.lib.profiler.server" system property.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo