4 Replies Latest reply on May 4, 2003 3:14 AM by jabberw

    java.lang.NoClassDefFoundError: javax/management/DynamicMBea

    jabberw Newbie

      Hi.
      Something strange.. I'm trying to run standard OpenMBean example - the one comes with Sun's Jmx_RI<1.2> - SampleOpenMBean.java with freshly dowloaded jboss-3.0.7. I get an error (while another sun's example - SimpleStandard.java - runs fine). It fails with exception stack:
      ------------
      java.lang.NoClassDefFoundError: javax/management/DynamicMBean; - nested throwable: (RuntimeErrorException: instantiating SampleOpenMBean failed: java.lang.NoClassDefFoundError: javax/management/DynamicMBean
      Cause: java.lang.NoClassDefFoundError: javax/management/DynamicMBean)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:153)
      at org.jboss.system.ServiceController.install(ServiceController.java:231)
      ---------
      but from running with java -verbose I see - DynamicMbean class was loaded.
      Anybody knows - what's may be a problem?
      Sincerely,
      thanx ahead.
      JabberW.