0 Replies Latest reply: Apr 27, 2010 3:14 PM by Carlo de Wolf RSS

Deployments in error guzzles up the exception cause

Carlo de Wolf Master

I can't see the cause of the NotCompliantMBeanException in this output.

 

java.lang.Exception: Encountered exception in server startup
    at org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase.bootstrapMcAndDescriptors(AbstractMCServerBase.java:325)
    at org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase.doStart(AbstractMCServerBase.java:257)
    at org.jboss.bootstrap.impl.as.server.AbstractJBossASServerBase.doStart(AbstractJBossASServerBase.java:381)
    at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:413)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.IllegalStateException: Incompletely deployed:

DEPLOYMENTS IN ERROR:
  Deployment "JMXKernel" is in error due to: javax.management.NotCompliantMBeanException: Cannot register MBean: jboss.system:type=ServerInfo

DEPLOYMENTS MISSING DEPENDENCIES:
  Deployment "JMXRegistrationAdvice" is missing the following dependencies:
    Dependency "JMXKernel" (should be in state "Installed", but is actually in state "**ERROR**")
  Deployment "ServiceDeployer" is missing the following dependencies:
    Dependency "JMXKernel" (should be in state "Installed", but is actually in state "**ERROR**")
  Deployment "AspectManagerJMXRegistrar" is missing the following dependencies:
    Dependency "JMXKernel" (should be in state "Installed", but is actually in state "**ERROR**")
  Deployment "ServiceMetaDataICF" is missing the following dependencies:
    Dependency "JMXKernel" (should be in state "Installed", but is actually in state "**ERROR**")
    Dependency "JMXKernel" (should be in state "Installed", but is actually in state "**ERROR**")
  Deployment "JMXStartStopAdvice" is missing the following dependencies:
    Dependency "JMXKernel" (should be in state "Installed", but is actually in state "**ERROR**")
  Deployment "JMXCreateDestroyAdvice" is missing the following dependencies:
    Dependency "JMXKernel" (should be in state "Installed", but is actually in state "**ERROR**")

    at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:278)
    at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:174)
    at org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase.bootstrapMcAndDescriptors(AbstractMCServerBase.java:314)
    ... 4 more

 

It must output the message of the cause as well.

 

I caused it by having the wrong version jboss-logging on the CL.