2 Replies Latest reply on Apr 13, 2003 1:56 PM by Juha Lindfors

    Running a MBean based on the JMX 1.2 StandardMBean class

    Bram Doornbos Newbie

      Hello,

      I got the following exception for a developed MBean when I use it with JBoss 3.0.6:

      javax.management.NotCompliantMBeanException: Class supplies a standard MBean interface and is a DynamicMBean

      The mbean is based on the StandardMBean class from the 1.2 specification. So this exception would be ok, but I don't want this compliancetest.
      I know that my class works when I put the jmxri.jar in my lib directory.

      I have patched the MBeanCapability class but this is dirty... Is there an option to configure this without changing the code?

      Bram.