1 Reply Latest reply on Dec 6, 2007 5:35 AM by jaikiran pai

    JBOss Compliance Error

    Hari Prabu Newbie

      Hi,

      I’m new to JBossAS. I get the following error when I start the application server. The error is so generic so I can’t get into conclusion which is causing this. If anyone know the solution or faced similar problem earlier can help me on this ? Any pointers in solving this problem is highly appreciated.

      12:44:34,807 ERROR [MainDeployer] Could not create deployment: file:/D:/jboss-4.
      2.1.GA/server/default/conf/jboss-service.xml
      org.jboss.deployment.DeploymentException: Error parsing the XML file, from XMLMe
      taData: ; - nested throwable: (org.jboss.mx.util.JBossNotCompliantMBeanException
      : Error parsing the XML file, from XMLMetaData: )
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
      :196)
      at org.jboss.system.ServiceController.install(ServiceController.java:226
      )
      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.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy4.install(Unknown Source)
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
      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.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
      at org.jboss.Main.boot(Main.java:200)
      at org.jboss.Main$1.run(Main.java:508)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: org.jboss.mx.util.JBossNotCompliantMBeanException: Error parsing the
      XML file, from XMLMetaData:
      at org.jboss.mx.metadata.XMLMetaData.build(XMLMetaData.java:292)
      at org.jboss.mx.modelmbean.XMBean.(XMBean.java:253)
      at org.jboss.mx.modelmbean.XMBean.(XMBean.java:282)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
      orAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
      onstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
      1233)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
      286)
      at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:
      344)
      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:212)
      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura
      tor.java:449)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
      :171)
      ... 33 more
      Caused by: org.jboss.dom4j.DocumentException: Error on line 56 of document resou
      rce:xmdesc/AttributePersistenceService-xmbean.xml : The entity "defaultAttribute
      s" was referenced, but not declared. Nested exception: The entity "defaultAttrib
      utes" was referenced, but not declared.
      at org.jboss.dom4j.io.SAXReader.read(SAXReader.java:482)
      at org.jboss.dom4j.io.SAXReader.read(SAXReader.java:291)
      at org.jboss.mx.metadata.XMLMetaData.build(XMLMetaData.java:255)
      ... 45 more
      Failed to boot JBoss:
      org.jboss.deployment.DeploymentException: Error parsing the XML file, from XMLMe
      taData: ; - nested throwable: (org.jboss.mx.util.JBossNotCompliantMBeanException
      : Error parsing the XML file, from XMLMetaData: )
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
      :196)
      at org.jboss.system.ServiceController.install(ServiceController.java:226
      )
      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.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy4.install(Unknown Source)
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
      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.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
      at org.jboss.Main.boot(Main.java:200)
      at org.jboss.Main$1.run(Main.java:508)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: org.jboss.mx.util.JBossNotCompliantMBeanException: Error parsing the
      XML file, from XMLMetaData:
      at org.jboss.mx.metadata.XMLMetaData.build(XMLMetaData.java:292)
      at org.jboss.mx.modelmbean.XMBean.(XMBean.java:253)
      at org.jboss.mx.modelmbean.XMBean.(XMBean.java:282)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
      orAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
      onstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
      1233)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
      286)
      at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:
      344)
      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:212)
      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura
      tor.java:449)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
      :171)
      ... 33 more
      Caused by: org.jboss.dom4j.DocumentException: Error on line 56 of document resou
      rce:xmdesc/AttributePersistenceService-xmbean.xml : The entity "defaultAttribute
      s" was referenced, but not declared. Nested exception: The entity "defaultAttrib
      utes" was referenced, but not declared.
      at org.jboss.dom4j.io.SAXReader.read(SAXReader.java:482)
      at org.jboss.dom4j.io.SAXReader.read(SAXReader.java:291)
      at org.jboss.mx.metadata.XMLMetaData.build(XMLMetaData.java:255)
      ... 45 more
      12:44:35,417 INFO [Server] Runtime shutdown hook called, forceHalt: true
      12:44:35,417 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
      12:44:35,432 INFO [Server] Shutdown complete
      Shutdown complete
      Halting VM
      Press any key to continue . . .