[jboss-jira] [JBoss JIRA] Commented: (JBAS-4342) JBoss5 beta 2 won't start on windows if installation path contains space characters
Emmanuel Bernard (JIRA)
jira-events at lists.jboss.org
Thu Mar 6 10:57:57 EST 2008
[ http://jira.jboss.com/jira/browse/JBAS-4342?page=comments#action_12401595 ]
Emmanuel Bernard commented on JBAS-4342:
----------------------------------------
This is true as well on any platform (MAC OS X)
/Applications/jboss as
will crash
> JBoss5 beta 2 won't start on windows if installation path contains space characters
> -----------------------------------------------------------------------------------
>
> Key: JBAS-4342
> URL: http://jira.jboss.com/jira/browse/JBAS-4342
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: JBossAS-5.0.0.Beta2
> Environment: Windows XP. JDK5
> Reporter: Jean-Philippe Courson
>
> JBoss5 beta won't start on windows if installation path contains space characters.
>
> Stacktrace:
> $ ./run.bat
> ===============================================================================
> JBoss Bootstrap Environment
> JBOSS_HOME: C:\Program Files\jboss5
> JAVA: C:\Program Files\java\bin\java
> JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
> CLASSPATH: C:\Program Files\java\lib\tools.jar;C:\Program Files\jboss5\bin\run.jar
> ===============================================================================
> 13:55:03,985 INFO [ServerImpl] Starting JBoss (Microcontainer)...
> 13:55:04,001 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.Beta2 (build: SVNTag=JBoss_5_0_0_Beta2 date=200704060017)
> 13:55:04,001 INFO [ServerImpl] Home Dir: C:\Program Files\jboss5
> 13:55:04,016 INFO [ServerImpl] Home URL: file:/C:/Program Files/jboss5/
> 13:55:04,016 INFO [ServerImpl] Library URL: file:/C:/Program Files/jboss5/lib/
> 13:55:04,032 INFO [ServerImpl] Patch URL: null
> 13:55:04,032 INFO [ServerImpl] Server Name: default
> 13:55:04,048 INFO [ServerImpl] Server Home Dir: C:\Program Files\jboss5\server\default
> 13:55:04,048 INFO [ServerImpl] Server Home URL: file:/C:/Program Files/jboss5/server/default/
> 13:55:04,048 INFO [ServerImpl] Server Data Dir: C:\Program Files\jboss5\server\default\data
> 13:55:04,063 INFO [ServerImpl] Server Temp Dir: C:\Program Files\jboss5\server\default\tmp
> 13:55:04,063 INFO [ServerImpl] Server Config URL: file:/C:/Program Files/jboss5/server/default/conf/
> 13:55:04,079 INFO [ServerImpl] Server Library URL: file:/C:/Program Files/jboss5/server/default/lib/
> 13:55:04,079 INFO [ServerImpl] Root Deployment Filename: jboss-service.xml
> 13:55:04,204 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/Program Files/jboss5/server/default/conf/bootstrap-beans.xml
> 13:55:06,319 INFO [ProfileImpl] Using profile root:C:\Program Files\jboss5\server\default
> 13:55:14,402 INFO [ServerInfo] Java version: 1.5.0_10,Sun Microsystems Inc.
> 13:55:14,417 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_10-b03,Sun Microsystems Inc.
> 13:55:14,417 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
> 13:55:15,091 INFO [JMXKernel] Legacy JMX core initialized
> 13:55:23,769 INFO [WebService] Using RMI server codebase: http://jumaland:8083/
> 13:55:28,891 WARN [DeclaredStructure] Error determining structure: jbossweb.deployer
> org.jboss.xb.binding.JBossXBException: Failed to parse source: vfsfile:/C:/Program%20Files/jboss5/server/default/deployers/jbossweb.deployer/META-INF/jboss-structure.xml
> at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:173)
> at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:180)
> at org.jboss.deployers.plugins.structure.vfs.explicit.DeclaredStructure.determineStructure(DeclaredStructure.java:72)
> at org.jboss.deployers.plugins.structure.BasicStructuredDeployers.determineStructure(BasicStructuredDeployers.java:76)
> at org.jboss.deployers.plugins.deployment.MainDeployerImpl.determineStructure(MainDeployerImpl.java:680)
> at org.jboss.deployers.plugins.deployment.MainDeployerImpl.addDeploymentContext(MainDeployerImpl.java:352)
> at AOPContainerProxy$0.addDeploymentContext(AOPContainerProxy$0.java)
> at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:363)
> at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:247)
> at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
> at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:403)
> at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:342)
> at org.jboss.Main.boot(Main.java:210)
> at org.jboss.Main$1.run(Main.java:522)
> at java.lang.Thread.run(Thread.java:595)
> Caused by: java.io.FileNotFoundException: File does not exist: C:\Program%20Files
> at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:249)
> at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:186)
> at org.jboss.virtual.plugins.context.file.FileHandler.createChildHandler(FileHandler.java:217)
> at org.jboss.virtual.plugins.context.AbstractVirtualFileHandler.structuredFindChild(AbstractVirtualFileHandler.java:280)
> at org.jboss.virtual.plugins.context.file.FileHandler.findChild(FileHandler.java:200)
> at org.jboss.virtual.plugins.context.AbstractVFSContext.findChild(AbstractVFSContext.java:118)
> at org.jboss.virtual.VFS.findChild(VFS.java:205)
> at org.jboss.virtual.plugins.vfs.VirtualFileURLConnection.resolveCachedVirtualFile(VirtualFileURLConnection.java:86)
> at org.jboss.virtual.plugins.vfs.VirtualFileURLConnection.getVirtualFile(VirtualFileURLConnection.java:102)
> at org.jboss.virtual.plugins.vfs.VirtualFileURLConnection.getInputStream(VirtualFileURLConnection.java:115)
> at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
> at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
> at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:169)
> ... 14 more
> 13:55:32,368 ERROR [AbstractKernelController] Error installing to Instantiated: name=DefaultPersistenceProperties state=Described
> java.lang.NullPointerException
> at org.jboss.ejb3.DefaultPersistenceProperties.<init>(DefaultPersistenceProperties.java:41)
> 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.reflect.plugins.introspection.ReflectionUtils.newInstance(ReflectionUtils.java:136)
> at org.jboss.reflect.plugins.introspection.ReflectConstructorInfoImpl.newInstance(ReflectConstructorInfoImpl.java:104)
> at org.jboss.joinpoint.plugins.BasicConstructorJoinPoint.dispatch(BasicConstructorJoinPoint.java:80)
> at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.createTarget(AOPConstructorJoinpoint.java:251)
> at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.dispatch(AOPConstructorJoinpoint.java:102)
> at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:103)
> at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:52)
> at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:197)
> at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:136)
> at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
> at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:233)
> at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:724)
> at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:445)
> at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:555)
> at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:489)
> at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:289)
> at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:192)
> at org.jboss.deployers.plugins.deployers.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:67)
> at org.jboss.deployers.plugins.deployers.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:42)
> at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:56)
> at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52)
> at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:170)
> at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:592)
> at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:603)
> at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:476)
> at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:406)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:121)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:110)
> at org.jboss.profileservice.aop.MainDeployerAspect.process(MainDeployerAspect.java:53)
> at org.jboss.aop.advice.org.jboss.profileservice.aop.MainDeployerAspect_z_process_24464082.invoke(MainDeployerAspect_z_process_24464082.java)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
> at AOPContainerProxy$0.process(AOPContainerProxy$0.java)
> at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:364)
> at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:247)
> at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
> at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:403)
> at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:342)
> at org.jboss.Main.boot(Main.java:210)
> at org.jboss.Main$1.run(Main.java:522)
> at java.lang.Thread.run(Thread.java:595)
> 13:55:33,230 INFO [STDOUT] Could not find base-aspects.xml file in the resources of org.jboss.mx.loading.UnifiedClassLoader3 at cab854{ url=vfsfile:/C:/Program%20Files/jboss5/server/default/conf/jboss-service.
> xml ,addedOrder=2}
> 13:55:38,791 INFO [JMXIntroduction] Registered MBean jboss.jca:service=JCAMetaDataRepository,name=DefaultJCAMetaDataRepository
> 13:55:42,628 INFO [ServiceEndpointManager] jbossws-2.0.0.DEV (build=200703312135)
> 13:55:52,512 WARN [Catalina] Can't load server.xml from C:\Program Files\jboss5\server\default\server.xml
> 13:55:52,512 INFO [Catalina] Server startup in 0 ms
> 13:55:52,669 ERROR [AbstractKernelController] Error installing to Start: name=WarDeployer state=Create
> java.lang.NullPointerException
> at org.jboss.web.tomcat.service.deployers.TomcatDeployer.start(TomcatDeployer.java:551)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:55)
> at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:108)
> at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
> at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:103)
> at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:145)
> at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:197)
> at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:136)
> at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
> at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:233)
> at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:724)
> at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:445)
> at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:555)
> at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:489)
> at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:289)
> at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:192)
> at org.jboss.deployers.plugins.deployers.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:67)
> at org.jboss.deployers.plugins.deployers.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:42)
> at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:56)
> at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52)
> at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:170)
> at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:592)
> at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:603)
> at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:476)
> at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:406)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:121)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:110)
> at org.jboss.profileservice.aop.MainDeployerAspect.process(MainDeployerAspect.java:53)
> at org.jboss.aop.advice.org.jboss.profileservice.aop.MainDeployerAspect_z_process_24464082.invoke(MainDeployerAspect_z_process_24464082.java)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
> at AOPContainerProxy$0.process(AOPContainerProxy$0.java)
> at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:364)
> at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:247)
> at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
> at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:403)
> at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:342)
> at org.jboss.Main.boot(Main.java:210)
> at org.jboss.Main$1.run(Main.java:522)
> at java.lang.Thread.run(Thread.java:595)
> 13:55:53,014 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
> *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
> EJBRegistrationDeployer
> -> EJBRegistrationDeployer{Installed:Instantiated}
> -> EJBRegistrationDeployer{Installed:Instantiated}
> -> DefaultPersistenceProperties{Configured:**ERROR**}
> JAXWSDeployerEJB3
> -> JAXWSDeployerEJB3{Installed:Configured}
> -> JAXWSDeployerEJB3{Installed:Configured}
> -> EJBRegistrationDeployer{Create:Instantiated}
> -> EJBRegistrationDeployer{Start:Instantiated}
> *** CONTEXTS IN ERROR: Name -> Error
> WarDeployer -> java.lang.NullPointerException
> DefaultPersistenceProperties -> java.lang.NullPointerException
> 13:55:53,170 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.Beta2 (build: SVNTag=JBoss_5_0_0_Beta2 date=200704060017)] Started in 49s:75ms
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list