• Bug
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • Admin Console
  • gkeim
  • Reporter: tcdpope
  • January 11, 2011
  • 0
  • Watchers: 1
  • July 27, 2012
  • January 12, 2011

Description

Scenario: 1 L1 running WAS-CE 2.1.1.4 with IBM JDK 1.6 and 1 L2 3.4.0 running Sun 1.6.0_20 64 bit.

When clicking on the client in the left pane tree view, the following error displays in the client logs:

java.lang.NoClassDefFoundError: sun.management.ManagementFactory at com.tc.management.L1Info.isVerboseGC(L1Info.java:265) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:600) at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:105) at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:39) at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:220) at com.sun.jmx.mbeanserver.PerInterface.getAttribute(PerInterface.java:77) at com.sun.jmx.mbeanserver.MBeanSupport.getAttribute(MBeanSupport.java:228) at javax.management.StandardMBean.getAttribute(StandardMBean.java:370) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:678) at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:650) at javax.management.remote.generic.ServerIntermediary.handleRequest(ServerIntermediary.java:222) at javax.management.remote.generic.ServerIntermediary$PrivilegedRequestJob.run(ServerIntermediary.java:951) at java.security.AccessController.doPrivileged(AccessController.java:284) at javax.management.remote.generic.ServerIntermediary$RequestHandler.handleMBSReqMessage(ServerIntermediary.java:727) at javax.management.remote.generic.ServerIntermediary$RequestHandler.execute(ServerIntermediary.java:629) at com.sun.jmx.remote.generic.ServerSynchroMessageConnectionImpl$RemoteJob.run(ServerSynchroMessageConnectionImpl.java:266) at com.sun.jmx.remote.opt.util.ThreadService$ThreadServiceJob.run(ThreadService.java:208) at com.sun.jmx.remote.opt.util.JobExecutor.run(JobExecutor.java:59) Caused by: java.lang.ClassNotFoundException: sun.management.ManagementFactory at java.lang.ClassNotFoundException.(ClassNotFoundException.java:77) at java.net.URLClassLoader.findClass(URLClassLoader.java:383) at org.terracotta.express.L1Loader.findClass(L1Loader.java:32) at java.lang.ClassLoader.loadClass(ClassLoader.java:652) at java.lang.ClassLoader.loadClass(ClassLoader.java:618) ... 21 more

Comments

Tim Eck 2011-01-11

That looks like a stupid problem with an import statement in L1Info. Too bad it turns into this awful exception in ibm jdk

Tim Eck 2011-01-11

we should grep our source tree for occurrences of the same problem :-)