2 Replies Latest reply on May 5, 2003 4:18 AM by jabberw

    java.lang.NoClassDefFoundError: javax/management/DynamicMBea

    jabberw Newbie

      Hi, all.
      That's a reposting of my question - it was in forum#161, and as appears it should be here. So.
      It's something strange.. I'm trying to run standard OpenMBean example - the one comes with Sun's Jmx_RI<1.2> - SimpleDynamic.java with freshly dowloaded jboss-3.0.7. I get an exception: java.lang.NoClassDefFoundError: javax/management/DynamicMBean, while another sun's example - SimpleStandard.java - runs fine. As I found out by playing with the working one - StandardMBean - the bean is loaded by jvm-standard classloader, sun.misc.Launcher$AppClassLoader, and not by the thread-context stored org.jboss.mx.loading.UnifiedClassLoader3 which really has an jboss-jmx.jar in it referred urls. I beleive that JBoss is fine and it's just my installation/mbean definition mistake - but what's it?
      Thanx ahead, really apprciate any help.