[jboss-user] Re: start jboss-5.0.0.Beta4 with error
samk at twinix.com
samk at twinix.com
Wed Apr 16 19:48:39 EDT 2008
See Thread at: http://www.techienuggets.com/Detail?tx=30616 Posted on behalf of a User
Hi, your problem is that you have a space on your JBoss path .. there's a bug with this ..
Hope this helps .
Best regards
Marlon
In Response To:
i got this error when start jboss-5.0.0.Beta4
'Add' is not recognized as an internal or external command,
operable program or batch file.
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: D:\application servers\jboss-5.0.0.Beta4
JAVA: C:\Program Files\Java\jdk1.5.0_10\bin\java
JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=2
56m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600
000
CLASSPATH: C:\Program Files\Java\jdk1.5.0_10\lib\tools.jar;D:\application serv
ers\jboss-5.0.0.Beta4\bin\run.jar
===============================================================================
06:07:19,024 INFO [ServerImpl] Starting JBoss (Microcontainer)...
06:07:19,024 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.Beta4 (build:
SVNTag=JBoss_5_0_0_Beta4 date=200802091115)
06:07:19,024 INFO [ServerImpl] Home Dir: D:\application servers\jboss-5.0.0.Bet
a4
06:07:19,024 INFO [ServerImpl] Home URL: file:/D:/application servers/jboss-5.0
.0.Beta4/
06:07:19,024 INFO [ServerImpl] Library URL: file:/D:/application servers/jboss-
5.0.0.Beta4/lib/
06:07:19,024 INFO [ServerImpl] Patch URL: null
06:07:19,024 INFO [ServerImpl] Server Name: default
06:07:19,024 INFO [ServerImpl] Server Home Dir: D:\application servers\jboss-5.
0.0.Beta4\server\default
06:07:19,040 INFO [ServerImpl] Server Home URL: file:/D:/application servers/jb
oss-5.0.0.Beta4/server/default/
06:07:19,040 INFO [ServerImpl] Server Data Dir: D:\application servers\jboss-5.
0.0.Beta4\server\default\data
06:07:19,040 INFO [ServerImpl] Server Temp Dir: D:\application servers\jboss-5.
0.0.Beta4\server\default\tmp
06:07:19,040 INFO [ServerImpl] Server Config URL: file:/D:/application servers/
jboss-5.0.0.Beta4/server/default/conf/
06:07:19,040 INFO [ServerImpl] Server Library URL: file:/D:/application servers
/jboss-5.0.0.Beta4/server/default/lib/
06:07:19,040 INFO [ServerImpl] Root Deployment Filename: jboss-service.xml
06:07:19,491 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/D:/a
pplication servers/jboss-5.0.0.Beta4/server/default/conf/bootstrap-beans.xml
06:07:20,377 INFO [ProfileImpl] Using profile root:D:\application servers\jboss
-5.0.0.Beta4\server\default
06:07:20,937 INFO [ServerInfo] Java version: 1.5.0_10,Sun Microsystems Inc.
06:07:20,952 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_10-b03
,Sun Microsystems Inc.
06:07:20,952 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
06:07:20,983 INFO [JMXKernel] Legacy JMX core initialized
06:07:25,538 ERROR [AbstractKernelController] Error installing to Instantiated:
name=jboss:service=AttributePersistenceService state=Described mode=Manual requi
redState=Configured
org.jboss.deployment.DeploymentException: Unable to createMBean for jboss:servic
e=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(Insta
ntiateAction.java:45)
at org.jboss.system.microcontainer.InstantiateAction.installAction(Insta
ntiateAction.java:37)
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.sim
pleInstallAction(SimpleControllerContextAction.java:62)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.ins
tall(AccessControllerContextAction.java:71)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install
(AbstractControllerContextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
ctControllerContext.java:327)
at org.jboss.system.microcontainer.ServiceControllerContext.install(Serv
iceControllerContext.java:255)
at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
oller.java:1309)
at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
ctController.java:734)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:862)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:784)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:622)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:411)
at org.jboss.system.ServiceController.doChange(ServiceController.java:65
9)
at org.jboss.system.ServiceController.install(ServiceController.java:272
)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.jav
a:99)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.jav
a:46)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.i
nternalDeploy(AbstractSimpleRealDeployer.java:65)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(
AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(Deployer
Wrapper.java:169)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:853)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:874)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(Deployers
Impl.java:794)
at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
ctControllerContext.java:327)
at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
oller.java:1309)
at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
ctController.java:734)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:862)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:784)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:622)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:411)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(Deployers
Impl.java:498)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeploye
rImpl.java:506)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadPr
ofile(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.(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:
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 application%20servers/jb
oss-5.0.0.Beta4/server/default/conf/xmdesc/AttributePersistenceService-xmbean.xm
l for FileHandler at 7930258[path= context=file:/D:/ real=file:/D:/] Nested excepti
on: Child not found application%20servers/jboss-5.0.0.Beta4/server/default/conf/
xmdesc/AttributePersistenceService-xmbean.xml for FileHandler at 7930258[path= cont
ext=file:/D:/ real=file:/D:/]
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
06:07:31,150 ERROR [AbstractKernelController] Error installing to Real: name=vfs
file:/D:/application%20servers/jboss-5.0.0.Beta4/server/default/conf/jboss-servi
ce.xml state=PostClassLoader mode=Manual requiredState=Real
org.jboss.deployment.DeploymentException: Unable to createMBean for jboss:servic
e=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(Insta
ntiateAction.java:45)
at org.jboss.system.microcontainer.InstantiateAction.installAction(Insta
ntiateAction.java:37)
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.sim
pleInstallAction(SimpleControllerContextAction.java:62)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.ins
tall(AccessControllerContextAction.java:71)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install
(AbstractControllerContextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
ctControllerContext.java:327)
at org.jboss.system.microcontainer.ServiceControllerContext.install(Serv
iceControllerContext.java:255)
at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
oller.java:1309)
at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
ctController.java:734)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:862)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:784)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:622)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:411)
at org.jboss.system.ServiceController.doChange(ServiceController.java:65
9)
at org.jboss.system.ServiceController.install(ServiceController.java:272
)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.jav
a:99)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.jav
a:46)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.i
nternalDeploy(AbstractSimpleRealDeployer.java:65)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(
AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(Deployer
Wrapper.java:169)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:853)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:874)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(Deployers
Impl.java:794)
at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
ctControllerContext.java:327)
at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
oller.java:1309)
at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
ctController.java:734)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:862)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:784)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:622)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:411)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(Deployers
Impl.java:498)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeploye
rImpl.java:506)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadPr
ofile(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.(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:
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 application%20servers/jb
oss-5.0.0.Beta4/server/default/conf/xmdesc/AttributePersistenceService-xmbean.xm
l for FileHandler at 7930258[path= context=file:/D:/ real=file:/D:/] Nested excepti
on: Child not found application%20servers/jboss-5.0.0.Beta4/server/default/conf/
xmdesc/AttributePersistenceService-xmbean.xml for FileHandler at 7930258[path= cont
ext=file:/D:/ real=file:/D:/]
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
06:07:31,275 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of
incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
*** CONTEXTS IN ERROR: Name -> Error
vfsfile:/D:/application%20servers/jboss-5.0.0.Beta4/server/default/conf/jboss-se
rvice.xml -> org.dom4j.DocumentException: Child not found application%20servers/
jboss-5.0.0.Beta4/server/default/conf/xmdesc/AttributePersistenceService-xmbean.
xml for FileHandler at 7930258[path= context=file:/D:/ real=file:/D:/] Nested excep
tion: Child not found application%20servers/jboss-5.0.0.Beta4/server/default/con
f/xmdesc/AttributePersistenceService-xmbean.xml for FileHandler at 7930258[path= co
ntext=file:/D:/ real=file:/D:/]
06:07:31,275 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.Beta4 (build: SVNT
ag=JBoss_5_0_0_Beta4 date=200802091115)] Started in 12s:235ms
More information about the jboss-user
mailing list