users@glassfish.java.net

Profiling GF2 with NB 6.5

From: <glassfish_at_javadesktop.org>
Date: Tue, 23 Dec 2008 07:21:11 PST

Hi,

We are trying to profile our Glassfishv2 app with NB 6.5 and getting the following error. We have no idea what to do about this, any help would be greatly appreciated.

Profiler Agent: Initializing...
Profiler Agent: Options: >/usr/glassfish/profiler/lib,5140<
Profiler Agent: Initialized succesfully
Could not load Logmanager "com.sun.enterprise.server.logging.ServerLogManager"
java.lang.ClassNotFoundException: com.sun.enterprise.server.logging.ServerLogManager
      at java.net.URLClassLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.util.logging.LogManager$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.util.logging.LogManager.<clinit>(Unknown Source)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Unknown Source)
      at com.sun.jmx.trace.Trace.initDestination(Unknown Source)
      at com.sun.jmx.trace.Trace.<clinit>(Unknown Source)
      at javax.management.MBeanServerFactory.debug(Unknown Source)
      at javax.management.MBeanServerFactory.checkMBeanServerBuilder(Unknown Source)
      at javax.management.MBeanServerFactory.getNewMBeanServerBuilder(Unknown Source)
      at javax.management.MBeanServerFactory.newMBeanServer(Unknown Source)
      at javax.management.MBeanServerFactory.createMBeanServer(Unknown Source)
      at javax.management.MBeanServerFactory.createMBeanServer(Unknown Source)
      at sun.management.ManagementFactory.createPlatformMBeanServer(Unknown Source)
      at java.lang.management.ManagementFactory.getPlatformMBeanServer(Unknown Source)
      at org.netbeans.lib.profiler.server.system.HeapDump.initialize16(HeapDump.java:102)
      at org.netbeans.lib.profiler.server.system.HeapDump.initialize(HeapDump.java:78)
      at org.netbeans.lib.profiler.server.ProfilerInterface.initProfilerInterface(ProfilerInterface.java:474)
      at org.netbeans.lib.profiler.server.ProfilerServer.initSupportingFunctionality(ProfilerServer.java:972)
      at org.netbeans.lib.profiler.server.ProfilerServer.doActivate(ProfilerServer.java:903)
      at org.netbeans.lib.profiler.server.ProfilerServer.activate(ProfilerServer.java:511)
Failed to load MBeanServerBuilder class com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder: java.lang.ClassNotFoundExcept
ion: com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
[Message sent by forum member 'jeffpk' (jeffpk)]

http://forums.java.net/jive/thread.jspa?messageID=323109