geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Dillon (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (GERONIMO-3858) start-server.bat fails to start server if there is a space in the path
Date Thu, 20 Mar 2008 05:28:24 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-3858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jason Dillon reassigned GERONIMO-3858:
--------------------------------------

    Assignee: Jason Dillon

> start-server.bat fails to start server if there is a space in the path
> ----------------------------------------------------------------------
>
>                 Key: GERONIMO-3858
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3858
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: startup/shutdown
>    Affects Versions: 2.1, 2.1.1, 2.2
>         Environment: Windows XP
>            Reporter: YunFeng Ma
>            Assignee: Jason Dillon
>
> start-server.bat fails to start server if there is a space in the install path, but startup.bat
works fine.  Looks like it's an Ant bug.
> H:\myf\Apache Geronimo\bin>start-server.bat
> ---------------------------------------------------
> constituent[0]: file:/H:/myf/Apache Geronimo/etc/
> constituent[1]: file:/H:/myf/Apache Geronimo/lib/gshell/geronimo-commands-2.1-SN
> APSHOT.jar
> constituent[2]: file:/H:/myf/Apache Geronimo/repository/org/apache/ant/ant/1.7.0
> /ant-1.7.0.jar
> constituent[3]: file:/H:/myf/Apache Geronimo/repository/org/apache/ant/ant-launc
> her/1.7.0/ant-launcher-1.7.0.jar
> constituent[4]: file:/H:/myf/Apache Geronimo/repository/org/apache/geronimo/gshe
> ll/gshell-cli/1.0-alpha-1-SNAPSHOT/gshell-cli-1.0-alpha-1-SNAPSHOT.jar
> constituent[5]: file:/H:/myf/Apache Geronimo/repository/org/apache/geronimo/gshe
> ll/gshell-embeddable/1.0-alpha-1-SNAPSHOT/gshell-embeddable-1.0-alpha-1-SNAPSHOT
> .jar
> constituent[6]: file:/H:/myf/Apache Geronimo/repository/org/apache/geronimo/gshe
> ll/remote/gshell-remote-client/1.0-alpha-1-SNAPSHOT/gshell-remote-client-1.0-alp
> ha-1-SNAPSHOT.jar
> constituent[7]: file:/H:/myf/Apache Geronimo/repository/org/apache/geronimo/gshe
> ll/remote/gshell-remote-common/1.0-alpha-1-SNAPSHOT/gshell-remote-common-1.0-alp
> ha-1-SNAPSHOT.jar
> constituent[8]: file:/H:/myf/Apache Geronimo/repository/org/apache/geronimo/gshe
> ll/remote/gshell-remote-server/1.0-alpha-1-SNAPSHOT/gshell-remote-server-1.0-alp
> ha-1-SNAPSHOT.jar
> constituent[9]: file:/H:/myf/Apache Geronimo/repository/org/apache/geronimo/gshe
> ll/gshell-whisper/1.0-alpha-1-SNAPSHOT/gshell-whisper-1.0-alpha-1-SNAPSHOT.jar
> constituent[10]: file:/H:/myf/Apache Geronimo/repository/org/apache/mina/mina-co
> re/1.1.2/mina-core-1.1.2.jar
> constituent[11]: file:/H:/myf/Apache Geronimo/repository/org/apache/mina/mina-fi
> lter-ssl/1.1.2/mina-filter-ssl-1.1.2.jar
> constituent[12]: file:/H:/myf/Apache Geronimo/repository/org/codehaus/groovy/gro
> ovy-all/1.1-rc-1/groovy-all-1.1-rc-1.jar
> constituent[13]: file:/H:/myf/Apache Geronimo/repository/org/slf4j/slf4j-log4j12
> /1.4.3/slf4j-log4j12-1.4.3.jar
> constituent[14]: file:/H:/myf/Apache Geronimo/repository/org/slf4j/jcl104-over-s
> lf4j/1.4.3/jcl104-over-slf4j-1.4.3.jar
> constituent[15]: file:/H:/myf/Apache Geronimo/lib/geronimo-kernel-2.1-SNAPSHOT.j
> ar
> constituent[16]: file:/H:/myf/Apache Geronimo/lib/log4j-1.2.14.jar
> constituent[17]: file:/H:/myf/Apache Geronimo/lib/cglib-nodep-2.1_3.jar
> constituent[18]: file:/H:/myf/Apache Geronimo/repository/org/apache/geronimo/spe
> cs/geronimo-javaee-deployment_1.1MR3_spec/1.0/geronimo-javaee-deployment_1.1MR3_
> spec-1.0.jar
> constituent[19]: file:/H:/myf/Apache Geronimo/repository/org/apache/geronimo/mod
> ules/geronimo-cli/2.1-SNAPSHOT/geronimo-cli-2.1-SNAPSHOT.jar
> constituent[20]: file:/H:/myf/Apache Geronimo/repository/org/apache/geronimo/mod
> ules/geronimo-deploy-config/2.1-SNAPSHOT/geronimo-deploy-config-2.1-SNAPSHOT.jar
> constituent[21]: file:/H:/myf/Apache Geronimo/repository/org/apache/geronimo/mod
> ules/geronimo-deploy-jsr88/2.1-SNAPSHOT/geronimo-deploy-jsr88-2.1-SNAPSHOT.jar
> constituent[22]: file:/H:/myf/Apache Geronimo/repository/org/apache/geronimo/mod
> ules/geronimo-deploy-tool/2.1-SNAPSHOT/geronimo-deploy-tool-2.1-SNAPSHOT.jar
> constituent[23]: file:/H:/myf/Apache Geronimo/repository/org/apache/geronimo/mod
> ules/geronimo-system/2.1-SNAPSHOT/geronimo-system-2.1-SNAPSHOT.jar
> constituent[24]: file:/H:/myf/Apache Geronimo/repository/org/apache/geronimo/mod
> ules/geronimo-plugin/2.1-SNAPSHOT/geronimo-plugin-2.1-SNAPSHOT.jar
> constituent[25]: file:/H:/myf/Apache Geronimo/repository/org/apache/geronimo/mod
> ules/geronimo-common/2.1-SNAPSHOT/geronimo-common-2.1-SNAPSHOT.jar
> constituent[26]: file:/H:/myf/Apache Geronimo/repository/org/codehaus/plexus/ple
> xus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar
> constituent[27]: file:/H:/myf/Apache Geronimo/repository/org/codehaus/plexus/ple
> xus-utils/1.4.1/plexus-utils-1.4.1.jar
> ---------------------------------------------------
> java.lang.IllegalArgumentException
>         at java.net.URI.create(URI.java:842)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.tools.ant.launch.Locator.fromURI(Locator.java:162)
>         at org.apache.tools.ant.launch.Locator.getResourceSource(Locator.java:11
> 9)
>         at org.apache.tools.ant.launch.Locator.getClassSource(Locator.java:90)
>         at org.apache.tools.ant.Project.setAntLib(Project.java:313)
>         at org.apache.tools.ant.Project.initProperties(Project.java:309)
>         at org.apache.tools.ant.Project.init(Project.java:295)
>         at org.apache.geronimo.commands.AntBuilder.createProject(AntBuilder.java
> :47)
>         at org.apache.geronimo.commands.AntBuilder.<init>(AntBuilder.java:41)
>         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.codehaus.groovy.runtime.MetaClassHelper.doConstructorInvoke(MetaC
> lassHelper.java:465)
>         at groovy.lang.MetaClassImpl.doConstructorInvoke(MetaClassImpl.java:2086
> )
>         at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1022)
>         at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:952)
>         at org.codehaus.groovy.runtime.Invoker.invokeConstructorOf(Invoker.java:
> 126)
>         at org.codehaus.groovy.runtime.InvokerHelper.invokeConstructorOf(Invoker
> Helper.java:103)
>         at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeNewN(ScriptBy
> tecodeAdapter.java:233)
>         at org.apache.geronimo.commands.StartServerCommand.doExecute(StartServer
> Command.groovy:74)
>         at org.apache.geronimo.gshell.command.CommandSupport.execute(CommandSupp
> ort.java:101)
>         at org.apache.geronimo.gshell.plugin.PlexusCommandWrapper.execute(Plexus
> CommandWrapper.java:71)
>         at org.apache.geronimo.gshell.DefaultCommandExecutor.execute(DefaultComm
> andExecutor.java:209)
>         at org.apache.geronimo.gshell.ExecutingVisitor.visit(ExecutingVisitor.ja
> va:96)
>         at org.apache.geronimo.gshell.parser.ASTExpression.jjtAccept(ASTExpressi
> on.java:17)
>         at org.apache.geronimo.gshell.parser.SimpleNode.childrenAccept(SimpleNod
> e.java:57)
>         at org.apache.geronimo.gshell.ExecutingVisitor.visit(ExecutingVisitor.ja
> va:79)
>         at org.apache.geronimo.gshell.parser.ASTCommandLine.jjtAccept(ASTCommand
> Line.java:17)
>         at org.apache.geronimo.gshell.DefaultCommandLineBuilder$1.execute(Defaul
> tCommandLineBuilder.java:95)
>         at org.apache.geronimo.gshell.DefaultCommandExecutor.execute(DefaultComm
> andExecutor.java:86)
>         at org.apache.geronimo.gshell.DefaultShell.execute(DefaultShell.java:123
> )
>         at org.apache.geronimo.gshell.GShell.execute(GShell.java:120)
>         at org.apache.geronimo.gshell.cli.Main.boot(Main.java:246)
>         at org.apache.geronimo.gshell.cli.Main.main(Main.java:266)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
> cher.java:289)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
> a:229)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
> uncher.java:408)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
> 351)
>         at org.apache.geronimo.gshell.bootstrap.Launcher.main(Launcher.java:59)
> Caused by: java.net.URISyntaxException: Illegal character in path at index 19: f
> ile:/H:/myf/Apache Geronimo/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar
>         at java.net.URI$Parser.fail(URI.java:2816)
>         at java.net.URI$Parser.checkChars(URI.java:2989)
>         at java.net.URI$Parser.parseHierarchical(URI.java:3073)
>         at java.net.URI$Parser.parse(URI.java:3021)
>         at java.net.URI.<init>(URI.java:578)
>         at java.net.URI.create(URI.java:840)
>         ... 47 more
> WARNING: Abnormal JVM shutdown detected

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message