3 Replies Latest reply on Jan 20, 2005 3:26 AM by williamwang

    JBoss JMX Service always get: ...  is not registered excepti

    williamwang Newbie

      I am using Jboss 3.2.3. and I am use JbuilderX to create JMX Service sar package.
      finnaly the jboss-service.xml has follow:

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE server PUBLIC "-//JBoss//DTD MBean Service 3.2//EN" "http://www.jboss.org/j2ee/dtd/jboss-service_3_2.dtd">
      <mbean code="com.wxk.DemoShowService" name="com.wxk:service=DemoShowService" />

      DemoShowService is implements DemoShowServiceMBean ,
      and DemoShowServiceMBean extends ServiceMBean

      but When I deploy this package get follow error:

      (javax.management.InstanceNotFoundException: com.wxk:service=DemoShowService is not registered.)

      how to write the mbean name attribute can pass this ?