5 Replies Latest reply on May 2, 2008 12:28 PM by Vicky Kak

# Jboss5 build from the trunk not running on windows .

I have been able to successfully able to build Jboss5 from the trunk but it fails with the following error on windows

```JAVA: C:\jdk\jdk1.5.0_01\bin\java

JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=25
6m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=36000
00

CLASSPATH: C:\Documents and Settings\Vicky.JBOSS-VICKY\workspace\jboss5trunk\b
uild\output\jboss-5.0.0.CR1\bin\run.jar

===============================================================================

22:33:22,562 INFO [ServerImpl] Starting JBoss (Microcontainer)...
22:33:22,562 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.CR1 (build: S
VNTag=JBoss_5_0_0_CR1 date=200805011558)
22:33:22,609 INFO [ServerImpl] Home Dir: C:\Documents and Settings\Vicky.JBOSS-
VICKY\workspace\jboss5trunk\build\output\jboss-5.0.0.CR1
22:33:22,609 INFO [ServerImpl] Home URL: file:/C:/Documents and Settings/Vicky.
JBOSS-VICKY/workspace/jboss5trunk/build/output/jboss-5.0.0.CR1/
22:33:22,609 INFO [ServerImpl] Library URL: file:/C:/Documents and Settings/Vic
ky.JBOSS-VICKY/workspace/jboss5trunk/build/output/jboss-5.0.0.CR1/lib/
22:33:22,609 INFO [ServerImpl] Patch URL: null
22:33:22,609 INFO [ServerImpl] Server Name: default
22:33:22,609 INFO [ServerImpl] Server Home Dir: C:\Documents and Settings\Vicky
.JBOSS-VICKY\workspace\jboss5trunk\build\output\jboss-5.0.0.CR1\server\default
22:33:22,609 INFO [ServerImpl] Server Home URL: file:/C:/Documents and Settings
/Vicky.JBOSS-VICKY/workspace/jboss5trunk/build/output/jboss-5.0.0.CR1/server/def
ault/
22:33:22,609 INFO [ServerImpl] Server Data Dir: C:\Documents and Settings\Vicky
.JBOSS-VICKY\workspace\jboss5trunk\build\output\jboss-5.0.0.CR1\server\default\d
ata
22:33:22,609 INFO [ServerImpl] Server Temp Dir: C:\Documents and Settings\Vicky
.JBOSS-VICKY\workspace\jboss5trunk\build\output\jboss-5.0.0.CR1\server\default\t
mp
22:33:22,609 INFO [ServerImpl] Server Config URL: file:/C:/Documents and Settin
gs/Vicky.JBOSS-VICKY/workspace/jboss5trunk/build/output/jboss-5.0.0.CR1/server/d
efault/conf/
22:33:22,609 INFO [ServerImpl] Server Library URL: file:/C:/Documents and Setti
ngs/Vicky.JBOSS-VICKY/workspace/jboss5trunk/build/output/jboss-5.0.0.CR1/server/
default/lib/
22:33:22,609 INFO [ServerImpl] Root Deployment Filename: jboss-service.xml
22:33:23,515 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/D
ocuments and Settings/Vicky.JBOSS-VICKY/workspace/jboss5trunk/build/output/jboss
-5.0.0.CR1/server/default/conf/bootstrap-beans.xml
22:33:26,281 INFO [ProfileImpl] Using profile root:C:\Documents and Settings\Vi
cky.JBOSS-VICKY\workspace\jboss5trunk\build\output\jboss-5.0.0.CR1\server\defaul
t
22:33:26,890 INFO [ServerInfo] Java version: 1.5.0_01,Sun Microsystems Inc.
22:33:26,890 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_01-b08
,Sun Microsystems Inc.
22:33:26,890 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
22:33:26,937 INFO [JMXKernel] Legacy JMX core initialized
22:33:32,625 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:348)
at org.jboss.system.microcontainer.ServiceControllerContext.install(Serv
iceControllerContext.java:255)
at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
oller.java:1394)
at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
ctController.java:786)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:914)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:836)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:674)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:456)
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:62)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(
AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(Deployer
Wrapper.java:174)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:970)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:991)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(Deployers
Impl.java:911)
at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
ctControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
oller.java:1394)
at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
ctController.java:786)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:914)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:836)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:674)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:456)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(Deployers
Impl.java:594)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeploye
rImpl.java:541)
ofile(ProfileServiceBootstrap.java:229)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(
ProfileServiceBootstrap.java:137)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:
409)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main\$1.run(Main.java:544)
Caused by: org.jboss.mx.util.JBossNotCompliantMBeanException: Error parsing the
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: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
gs/Vicky.JBOSS-VICKY/workspace/jboss5trunk/build/output/jboss-5.0.0.CR1/server/d
efault/conf/xmdesc/AttributePersistenceService-xmbean.xml for FileHandler@157361
uments%20and%20Settings/Vicky.JBOSS-VICKY/workspace/jboss5trunk/build/output/jbo
ss-5.0.0.CR1/server/default/conf/xmdesc/AttributePersistenceService-xmbean.xml f
or FileHandler@15736146[path= context=file:/C:/ real=file:/C:/]
... 49 more
22:33:32,937 ERROR [AbstractKernelController] Error installing to Real: name=vfs
file:/C:/Documents%20and%20Settings/Vicky.JBOSS-VICKY/workspace/jboss5trunk/buil
d/output/jboss-5.0.0.CR1/server/default/conf/jboss-service.xml state=PreReal mod
e=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:348)
at org.jboss.system.microcontainer.ServiceControllerContext.install(Serv
iceControllerContext.java:255)
at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
oller.java:1394)
at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
ctController.java:786)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:914)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:836)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:674)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:456)
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:62)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(
AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(Deployer
Wrapper.java:174)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:970)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:991)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(Deployers
Impl.java:911)
at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
ctControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
oller.java:1394)
at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
ctController.java:786)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:914)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:836)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:674)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:456)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(Deployers
Impl.java:594)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeploye
rImpl.java:541)
ofile(ProfileServiceBootstrap.java:229)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(
ProfileServiceBootstrap.java:137)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:
409)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main\$1.run(Main.java:544)
Caused by: org.jboss.mx.util.JBossNotCompliantMBeanException: Error parsing the
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: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
gs/Vicky.JBOSS-VICKY/workspace/jboss5trunk/build/output/jboss-5.0.0.CR1/server/d
efault/conf/xmdesc/AttributePersistenceService-xmbean.xml for FileHandler@157361
uments%20and%20Settings/Vicky.JBOSS-VICKY/workspace/jboss5trunk/build/output/jbo
ss-5.0.0.CR1/server/default/conf/xmdesc/AttributePersistenceService-xmbean.xml f
or FileHandler@15736146[path= context=file:/C:/ real=file:/C:/]
... 49 more
22:33:33,359 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of
incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

*** CONTEXTS IN ERROR: Name -> Error

vfsfile:/C:/Documents%20and%20Settings/Vicky.JBOSS-VICKY/workspace/jboss5trunk/b
uild/output/jboss-5.0.0.CR1/server/default/conf/jboss-service.xml -> org.dom4j.D
orkspace/jboss5trunk/build/output/jboss-5.0.0.CR1/server/default/conf/xmdesc/Att
ributePersistenceService-xmbean.xml for FileHandler@15736146[path= context=file:
s/Vicky.JBOSS-VICKY/workspace/jboss5trunk/build/output/jboss-5.0.0.CR1/server/de
fault/conf/xmdesc/AttributePersistenceService-xmbean.xml for FileHandler@1573614
6[path= context=file:/C:/ real=file:/C:/]

22:33:33,390 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.CR1 (build: SVNTag
=JBoss_5_0_0_CR1 date=200805011558)] Started in 10s:781ms```

Is anyone else experiencing this ?

• ###### 1. Re: Jboss5 build from the trunk not running on windows .

I am yet not able to get it working on Windows ;(
Anyone out there who is trying this on windows ?

I have noticed that the Jboss5 does not run well on fedora5 , it hangs a lot .
I will update the log which indicate the delays when I am back on fedora again .

Anyone experiencing the same ?

• ###### 2. Re: Jboss5 build from the trunk not running on windows .

Try moving your workspace into more computer friendly directory: out of 'Documents%20and%20Settings'.

• ###### 3. Re: Jboss5 build from the trunk not running on windows .

"alesj" wrote:
Try moving your workspace into more computer friendly directory: out of 'Documents%20and%20Settings'.

Hard to believe it could be reason but I will give it a try , let me see .

• ###### 4. Re: Jboss5 build from the trunk not running on windows .

Yes it works by moving out of the 'Documents%20and%20Settings' .
Thanks .

However the booting occurs over a minute , is that normal

```21:18:57,937 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8
080
21:18:57,968 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
21:18:57,984 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.CR1 (build: SVNTag
=JBoss_5_0_0_CR1 date=200805022103)] Started in 1m:19s:969ms```

• ###### 5. Re: Jboss5 build from the trunk not running on windows .

Here is where it got stuck in fedora7 , this is from older logs

```17:01:39,951 INFO [AbstractVirtualFileHandler] VFS force NoCopyNestedJarHandler is enabled.
17:02:08,360 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/