1 Reply Latest reply on Jun 9, 2004 5:37 AM by clau25

    Please help on a non-jboss-service MBean

    guava Newbie

      I'm using jboss-4.0.0DR4 and I'm having problem loading standard JMX mbean into Jboss. I have a simple jmx HelloBean interface.

      package bean;
      public interface HelloBean {
      String hello(String n);
      }

      And I have a concrete Hello class that implements the interface. I specified the interface in user-service.xml as such:



      After I started jboss: I got the following exception:
      ++++++++++++++++++++++++++++++++++++++++++
      16:57:03,843 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-4.
      0.0DR4/server/zforce/deploy/user-service.xml
      org.jboss.deployment.DeploymentException: bean.HelloBean.(); - nested thro
      wable: (java.lang.NoSuchMethodException: bean.HelloBean.())
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
      :139)
      at org.jboss.system.ServiceController.install(ServiceController.java:200
      )
      ++++++++++++++++++++++++++++++++++++++++++

      I must be making some obvious mistake but I can not figure out why.

      Thanks so much for any help.