1 Reply Latest reply on Apr 23, 2006 5:36 PM by tyu

    Cannot register ServiceController in JBoss 4.0.4 RC1

      I got the following error which didn't happen using 4.0.3SP1

      javax.management.NotCompliantMBeanException: Cannot register MBean: jboss.system
      :service=ServiceController
      at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMB
      eanRegistry.java:314)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:260)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.jav
      a:1417)
      at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:
      295)
      at org.jboss.system.server.ServerImpl.createMBean(ServerImpl.java:538)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:437)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:357)
      at org.jboss.Main.boot(Main.java:200)
      at org.jboss.Main$1.run(Main.java:464)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: javax.management.RuntimeErrorException
      at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(Bas
      icMBeanRegistry.java:721)
      at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMB
      eanRegistry.java:211)
      ... 22 more
      Caused by: java.lang.NoClassDefFoundError: org/jboss/xb/binding/sunday/unmarshal
      ling/SchemaBindingResolver
      at org.jboss.system.ServiceController.preRegister(ServiceController.java
      :749)
      at org.jboss.mx.server.AbstractMBeanInvoker.invokePreRegister(AbstractMB
      eanInvoker.java:962)
      at org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBea
      nInvoker.java:489)
      at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInv
      oker.java:650)
      at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(Bas
      icMBeanRegistry.java:693)
      ... 23 more