0 Replies Latest reply on Oct 13, 2011 10:10 AM by suresh kumar

    javax.management.NotCompliantMBeanException

    suresh kumar Newbie

      Hi all,

                We are in the process of migrating our application from jboss-3.2.7 to jboss-5.1.0.In our application, we have an EAR file packaged with couple of WAR files and a SAR file along with META-INF directory. While deploying the EAR file under server\default\deploy directory, we are getting the below error.Our application do not useany EJB related stuffs.We moved all the module structure configuration from jboss-app.xml to application.xml packaged in EAR file.Then, we are getting this exception.Does anyone have any idea about this exception?

       

      09:45:52,344 ERROR [AbstractKernelController] Error installing to Instantiated: name=mckesson.ems.ad

      min:name=LoggingManager state=Described mode=Manual requiredState=Configured

      javax.management.NotCompliantMBeanException: Class does not expose a management interface: java.lang

      .Object

              at org.jboss.mx.metadata.MBeanCapability.of(MBeanCapability.java:102)

              at org.jboss.mx.metadata.MBeanCapability.of(MBeanCapability.java:100)

              at org.jboss.mx.metadata.MBeanCapability.of(MBeanCapability.java:100)

              at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:190

      )

              at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

              at java.lang.reflect.Method.invoke(Method.java:597)

              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

              at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)

              at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)

              at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterce

      ptor.java:140)

              at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)

              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

              at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1431)

              at java.security.AccessController.doPrivileged(Native Method)

              at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1426)

              at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1359)

              at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:345)

              at org.jboss.system.ServiceCreator.installPlainMBean(ServiceCreator.java:211)

              at org.jboss.system.ServiceCreator.install(ServiceCreator.java:130)

              at org.jboss.system.microcontainer.InstantiateAction.installAction(InstantiateAction.java:45

      )

              at org.jboss.system.microcontainer.InstantiateAction.installAction(InstantiateAction.java:37

      )

              at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(Sim

      pleControllerContextAction.java:62)

              at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControlle

      rContextAction.java:71)

              at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerC

      ontextActions.java:51)

              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.

      java:348)

              at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext

      .java:286)

              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93

      4)

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1

      082)

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9

      84)

              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

       

      Thanks in advance,

      Sureshkumar.S

      Bangalore,India.