2 Replies Latest reply on Apr 23, 2008 2:12 PM by Tobi Felle

    Startup of JBoss 5 fails

    Tobi Felle Newbie

      Hi, all. The starup of Jboss 5.0.0. Beta 4 fails with following error:

      ===============================================================================
      
       JBoss Bootstrap Environment
      
       JBOSS_HOME: C:\Program Files\jboss-5.0.0.Beta4
      
       JAVA: C:\Program Files\Java\jdk1.5.0_15\bin\java
      
       JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.se
      rver.gcInterval=3600000
      
       CLASSPATH: C:\Program Files\Java\jdk1.5.0_15\lib\tools.jar;C:\Program Files\jboss-5.0.0.Beta4\bin\run.jar
      
      ===============================================================================
      
      13:11:43,837 INFO [ServerImpl] Starting JBoss (Microcontainer)...
      13:11:43,838 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.Beta4 (build: SVNTag=JBoss_5_0_0_Beta4 date=200802091115)
      13:11:43,841 INFO [ServerImpl] Home Dir: C:\Program Files\jboss-5.0.0.Beta4
      13:11:43,841 INFO [ServerImpl] Home URL: file:/C:/Program Files/jboss-5.0.0.Beta4/
      13:11:43,841 INFO [ServerImpl] Library URL: file:/C:/Program Files/jboss-5.0.0.Beta4/lib/
      13:11:43,842 INFO [ServerImpl] Patch URL: null
      13:11:43,842 INFO [ServerImpl] Server Name: default
      13:11:43,842 INFO [ServerImpl] Server Home Dir: C:\Program Files\jboss-5.0.0.Beta4\server\default
      13:11:43,842 INFO [ServerImpl] Server Home URL: file:/C:/Program Files/jboss-5.0.0.Beta4/server/default/
      13:11:43,843 INFO [ServerImpl] Server Data Dir: C:\Program Files\jboss-5.0.0.Beta4\server\default\data
      13:11:43,844 INFO [ServerImpl] Server Temp Dir: C:\Program Files\jboss-5.0.0.Beta4\server\default\tmp
      13:11:43,844 INFO [ServerImpl] Server Config URL: file:/C:/Program Files/jboss-5.0.0.Beta4/server/default/conf/
      13:11:43,844 INFO [ServerImpl] Server Library URL: file:/C:/Program Files/jboss-5.0.0.Beta4/server/default/lib/
      13:11:43,845 INFO [ServerImpl] Root Deployment Filename: jboss-service.xml
      13:11:44,207 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/Program Files/jboss-5.0.0.Beta4/server/default/conf/bootstrap
      -beans.xml
      13:11:45,061 INFO [ProfileImpl] Using profile root:C:\Program Files\jboss-5.0.0.Beta4\server\default
      13:11:45,527 INFO [ServerInfo] Java version: 1.5.0_15,Sun Microsystems Inc.
      13:11:45,545 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_15-b04,Sun Microsystems Inc.
      13:11:45,545 INFO [ServerInfo] OS-System: Windows Vista 6.0,x86
      13:11:45,629 INFO [JMXKernel] Legacy JMX core initialized
      13:11:49,491 ERROR [AbstractKernelController] Error installing to Instantiated: name=jboss:service=AttributePersistenceService state=Describ
      ed mode=Manual requiredState=Configured
      org.jboss.deployment.DeploymentException: Unable to createMBean for jboss:service=AttributePersistenceService
       at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:52)
       at org.jboss.system.ServiceCreator.install(ServiceCreator.java:141)
       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(SimpleControllerContextAction.java:62)
       at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
       at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
       at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:255)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
       at org.jboss.system.ServiceController.doChange(ServiceController.java:659)
       at org.jboss.system.ServiceController.install(ServiceController.java:272)
       at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
       at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
       at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:65)
       at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
       at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:853)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:874)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:794)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:216)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:131)
       at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:408)
       at org.jboss.Main.boot(Main.java:208)
       at org.jboss.Main$1.run(Main.java:534)
       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.<init>(XMBean.java:253)
       at org.jboss.mx.modelmbean.XMBean.<init>(XMBean.java:282)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
       at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
       at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1242)
       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.installExternalXMBean(ServiceCreator.java:286)
       at org.jboss.system.ServiceCreator.install(ServiceCreator.java:122)
       ... 38 more
      Caused by: org.dom4j.DocumentException: Child not found Program%20Files/jboss-5.0.0.Beta4/server/default/conf/xmdesc/AttributePersistenceSer
      vice-xmbean.xml for FileHandler@15736146[path= context=file:/C:/ real=file:/C:/] Nested exception: Child not found Program%20Files/jboss-5.0
      .0.Beta4/server/default/conf/xmdesc/AttributePersistenceService-xmbean.xml for FileHandler@15736146[path= context=file:/C:/ real=file:/C:/]
       at org.dom4j.io.SAXReader.read(SAXReader.java:484)
       at org.dom4j.io.SAXReader.read(SAXReader.java:291)
       at org.jboss.mx.metadata.XMLMetaData.build(XMLMetaData.java:255)
       ... 49 more
      13:11:49,566 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/C:/Program%20Files/jboss-5.0.0.Beta4/server/default/co
      nf/jboss-service.xml state=PostClassLoader mode=Manual requiredState=Real
      org.jboss.deployment.DeploymentException: Unable to createMBean for jboss:service=AttributePersistenceService
       at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:52)
       at org.jboss.system.ServiceCreator.install(ServiceCreator.java:141)
       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(SimpleControllerContextAction.java:62)
       at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
       at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
       at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:255)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
       at org.jboss.system.ServiceController.doChange(ServiceController.java:659)
       at org.jboss.system.ServiceController.install(ServiceController.java:272)
       at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
       at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
       at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:65)
       at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
       at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:853)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:874)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:794)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:216)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:131)
       at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:408)
       at org.jboss.Main.boot(Main.java:208)
       at org.jboss.Main$1.run(Main.java:534)
       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.<init>(XMBean.java:253)
       at org.jboss.mx.modelmbean.XMBean.<init>(XMBean.java:282)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
       at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
       at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1242)
       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.installExternalXMBean(ServiceCreator.java:286)
       at org.jboss.system.ServiceCreator.install(ServiceCreator.java:122)
       ... 38 more
      Caused by: org.dom4j.DocumentException: Child not found Program%20Files/jboss-5.0.0.Beta4/server/default/conf/xmdesc/AttributePersistenceSer
      vice-xmbean.xml for FileHandler@15736146[path= context=file:/C:/ real=file:/C:/] Nested exception: Child not found Program%20Files/jboss-5.0
      .0.Beta4/server/default/conf/xmdesc/AttributePersistenceService-xmbean.xml for FileHandler@15736146[path= context=file:/C:/ real=file:/C:/]
       at org.dom4j.io.SAXReader.read(SAXReader.java:484)
       at org.dom4j.io.SAXReader.read(SAXReader.java:291)
       at org.jboss.mx.metadata.XMLMetaData.build(XMLMetaData.java:255)
       ... 49 more
      13:11:49,724 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
      
      *** CONTEXTS IN ERROR: Name -> Error
      
      vfsfile:/C:/Program%20Files/jboss-5.0.0.Beta4/server/default/conf/jboss-service.xml -> org.dom4j.DocumentException: Child not found Program%
      20Files/jboss-5.0.0.Beta4/server/default/conf/xmdesc/AttributePersistenceService-xmbean.xml for FileHandler@15736146[path= context=file:/C:/
       real=file:/C:/] Nested exception: Child not found Program%20Files/jboss-5.0.0.Beta4/server/default/conf/xmdesc/AttributePersistenceService-
      xmbean.xml for FileHandler@15736146[path= context=file:/C:/ real=file:/C:/]
      
      
      13:11:49,734 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.Beta4 (build: SVNTag=JBoss_5_0_0_Beta4 date=200802091115)] Started in 5s:887ms