File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes JBOSS 5.0.0.Beta4 Statup problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBOSS 5.0.0.Beta4 Statup problem" Watch "JBOSS 5.0.0.Beta4 Statup problem" New topic
Author

JBOSS 5.0.0.Beta4 Statup problem

Ram Mahato
Greenhorn

Joined: Dec 07, 2008
Posts: 14
hi I wam trying to use JBOSS5.0.0.Beta4 with Netbeans 6.5 on windows xp-2
but when I try to start the AS it gives following error.


14:35:24,341 INFO [ServerImpl] Starting JBoss (Microcontainer)...
14:35:24,341 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.Beta4 (build:
SVNTag=JBoss_5_0_0_Beta4 date=200802091115)
14:35:24,341 INFO [ServerImpl] Home Dir: C:\Program Files\jboss-5.0.0.Beta4
14:35:24,341 INFO [ServerImpl] Home URL: file:/C:/Program Files/jboss-5.0.0.Bet
a4/
14:35:24,341 INFO [ServerImpl] Library URL: file:/C:/Program Files/jboss-5.0.0.
Beta4/lib/
14:35:24,357 INFO [ServerImpl] Patch URL: null
14:35:24,357 INFO [ServerImpl] Server Name: default
14:35:24,357 INFO [ServerImpl] Server Home Dir: C:\Program Files\jboss-5.0.0.Be
ta4\server\default
14:35:24,357 INFO [ServerImpl] Server Home URL: file:/C:/Program Files/jboss-5.
0.0.Beta4/server/default/
14:35:24,357 INFO [ServerImpl] Server Data Dir: C:\Program Files\jboss-5.0.0.Be
ta4\server\default\data
14:35:24,357 INFO [ServerImpl] Server Temp Dir: C:\Program Files\jboss-5.0.0.Be
ta4\server\default\tmp
14:35:24,357 INFO [ServerImpl] Server Config URL: file:/C:/Program Files/jboss-
5.0.0.Beta4/server/default/conf/
14:35:24,357 INFO [ServerImpl] Server Library URL: file:/C:/Program Files/jboss
-5.0.0.Beta4/server/default/lib/
14:35:24,357 INFO [ServerImpl] Root Deployment Filename: jboss-service.xml
14:35:24,545 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/P
rogram Files/jboss-5.0.0.Beta4/server/default/conf/bootstrap-beans.xml
14:35:24,966 INFO [ProfileImpl] Using profile root:C:\Program Files\jboss-5.0.0
.Beta4\server\default
14:35:25,201 INFO [ServerInfo] Java version: 1.6.0_10-beta,Sun Microsystems Inc
.
14:35:25,216 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 11.0-b12,Sun
Microsystems Inc.
14:35:25,216 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
14:35:25,248 INFO [JMXKernel] Legacy JMX core initialized
14:35:27,357 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:619)
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(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
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/AttributePersistenceService-xmbean.xml for
FileHandler@31356055[path= context=file:/C:/ real=file:/C:/] Nested exception: C
hild not found Program%20Files/jboss-5.0.0.Beta4/server/default/conf/xmdesc/Attr
ibutePersistenceService-xmbean.xml for FileHandler@31356055[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
14:35:27,420 ERROR [AbstractKernelController] Error installing to Real: name=vfs
file:/C:/Program%20Files/jboss-5.0.0.Beta4/server/default/conf/jboss-service.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:619)
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(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
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/AttributePersistenceService-xmbean.xml for
FileHandler@31356055[path= context=file:/C:/ real=file:/C:/] Nested exception: C
hild not found Program%20Files/jboss-5.0.0.Beta4/server/default/conf/xmdesc/Attr
ibutePersistenceService-xmbean.xml for FileHandler@31356055[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
14:35:27,498 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 File
Handler@31356055[path= context=file:/C:/ real=file:/C:/] Nested exception: Child
not found Program%20Files/jboss-5.0.0.Beta4/server/default/conf/xmdesc/Attribut
ePersistenceService-xmbean.xml for FileHandler@31356055[path= context=file:/C:/
real=file:/C:/]


14:35:27,498 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.Beta4 (build: SVNT
ag=JBoss_5_0_0_Beta4 date=200802091115)] Started in 3s:141ms



Please help....
thank you all
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9318
    
109

Server Home URL: file:/C:/Program Files/jboss-5.0.0.Beta4/server/default/


Do not install JBoss in a folder containing a space. Move it to some other folder. For example: C:/jboss-5.0.0.Beta4.

Also, the GA version of JBoss-5.0 has been released. You might want to start using that instead of the Beta version.


[My Blog] [JavaRanch Journal]
Ram Mahato
Greenhorn

Joined: Dec 07, 2008
Posts: 14
thank you for the reply.
It worked exactly...
I can not use GA version coz its not supported by NetBeans 6.5..
please guide...

Regards
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JBOSS 5.0.0.Beta4 Statup problem
 
Similar Threads
Deployment Failed on JBoss 5.0.1 GA
EJB 3 deployment Error
BRMS on JBOSS 4.0.2
moved from jboss-4.0.3 to jboss-5.1.0 where do I put my war files
Exception while deploying the bean