Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Failed startup of context --- Illegal character in path at index 18:

Greetings,

Please upgrade to the most recent version 7.4.1 that you can download using this link. This issue has been fixed a while ago in one of the releases. Also, it would be great if you post your Jetty 7 questions to the Eclipse mailing list only.

Thanks,
Michael

On Thu, May 26, 2011 at 4:43 AM, Patil, Parag <Parag.Patil@xxxxxxxxxx> wrote:

Hi,

  I am trying to deploy a webapp in Jetty 7.0.1 on windows XP sp3 .  and I see this error

 

java.net.URISyntaxException: Illegal character in path at index 18: file:/C:/Documents and Settings/paragp/Local Settings/Temp/Jetty_0_0_0_0_0_dfm.app.war____k6kqcy/webinf/WEB-INF/lib/antlr-2.7.7.jar

 

probably caused by the space in the path. Any pointers to solve this ? I have pasted the complete log below

 

thanks in advance,

Parag

 

 

 

-----------------------------------------------------------------------------

 

 

jvm 1    | [INFO ] Logging to Logger[org.eclipse.jetty.util.log] via org.eclipse.jetty.util.log.Slf4jLog

jvm 1    | [INFO ] jetty-7.0.1.v20091125

jvm 1    | [INFO ] Extract jar:file:/C:/work/Bard/main/war/dfm-app.war!/WEB-INF/ to C:\Documents and Settings\paragp\Local Settings\Temp\Jetty_0_0_0_0_0_dfm.app.war____k6kqcy\webinf\WEB-INF

jvm 1    | [ERROR] Failed startup of context WebAppContext@7ab40c@7ab40c/,file:/C:/Documents and Settings/paragp/Local Settings/Temp/Jetty_0_0_0_0_0_dfm.app.war____k6kqcy/webinf/;jar:file:/C:/work/Bard/main/war/dfm-app.war!/;,war/dfm-app.war

jvm 1    | java.lang.RuntimeException: java.net.URISyntaxException: Illegal character in path at index 18: file:/C:/Documents and Settings/paragp/Local Settings/Temp/Jetty_0_0_0_0_0_dfm.app.war____k6kqcy/webinf/WEB-INF/lib/antlr-2.7.7.jar

jvm 1    |               at org.eclipse.jetty.util.resource.Resource.getURI(Resource.java:360) ~[jetty-util-7.0.1.v20091125.jar:7.0.1.v20091125]

jvm 1    |               at org.eclipse.jetty.webapp.WebInfConfiguration.preConfigure(WebInfConfiguration.java:107) ~[jetty-webapp-7.0.1.v20091125.jar:7.0.1.v20091125]

jvm 1    |               at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:347) ~[jetty-webapp-7.0.1.v20091125.jar:7.0.1.v20091125]

jvm 1    |               at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) [jetty-util-7.0.1.v20091125.jar:7.0.1.v20091125]

jvm 1    |               at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:165) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125]

jvm 1    |               at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:162) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125]

jvm 1    |               at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) [jetty-util-7.0.1.v20091125.jar:7.0.1.v20091125]

jvm 1    |               at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:165) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125]

jvm 1    |               at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) [jetty-util-7.0.1.v20091125.jar:7.0.1.v20091125]

jvm 1    |               at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:92) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125]

jvm 1    |               at org.eclipse.jetty.server.Server.doStart(Server.java:228) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125]

jvm 1    |               at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) [jetty-util-7.0.1.v20091125.jar:7.0.1.v20091125]

jvm 1    |               at com.netapp.dfm.server.Facade.start(Facade.java:48) [dfm-server.jar:5.0.0.SNAPSHOT]

jvm 1    |               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_22]

jvm 1    |               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_22]

jvm 1    |               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_22]

jvm 1    |               at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_22]

jvm 1    |               at com.netapp.common.cli.binding.CommandBinding.execute(CommandBinding.java:97) [nn-cli.jar:3.0]

jvm 1    |               at com.netapp.common.cli.invocation.CliInvocation.invoke(CliInvocation.java:58) [nn-cli.jar:3.0]

jvm 1    |               at com.netapp.dfm.server.ServerMain.main(ServerMain.java:47) [dfm-server.jar:5.0.0.SNAPSHOT]

jvm 1    |               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_22]

jvm 1    |               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_22]

jvm 1    |               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_22]

jvm 1    |               at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_22]

jvm 1    |               at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:247) [wrapper.jar:3.5.3]

jvm 1    |               at java.lang.Thread.run(Thread.java:662) [na:1.6.0_22]

jvm 1    | Caused by: java.net.URISyntaxException: Illegal character in path at index 18: file:/C:/Documents and Settings/paragp/Local Settings/Temp/Jetty_0_0_0_0_0_dfm.app.war____k6kqcy/webinf/WEB-INF/lib/antlr-2.7.7.jar

jvm 1    |               at java.net.URI$Parser.fail(URI.java:2809) ~[na:1.6.0_22]

jvm 1    |               at java.net.URI$Parser.checkChars(URI.java:2982) ~[na:1.6.0_22]

jvm 1    |               at java.net.URI$Parser.parseHierarchical(URI.java:3066) ~[na:1.6.0_22]

jvm 1    |               at java.net.URI$Parser.parse(URI.java:3014) ~[na:1.6.0_22]

jvm 1    |               at java.net.URI.<init>(URI.java:578) ~[na:1.6.0_22]

jvm 1    |               at java.net.URL.toURI(URL.java:918) ~[na:1.6.0_22]

jvm 1    |               at org.eclipse.jetty.util.resource.Resource.getURI(Resource.java:356) ~[jetty-util-7.0.1.v20091125.jar:7.0.1.v20091125]

jvm 1    |               ... 25 common frames omitted

jvm 1    | [INFO ] Opened C:\work\Bard\main\log\requests-2011_05_26.log

jvm 1    | [INFO ] Started LocalConnector@0.0.0.0:0

jvm 1    | [WARN ] FAILED SocketConnector@0.0.0.0:8088: java.net.BindException: Address already in use: JVM_Bind

jvm 1    | [WARN ] FAILED org.eclipse.jetty.server.Server@18952cc: java.net.BindException: Address already in use: JVM_Bind

jvm 1    | [ERROR] CLI-01093: Error invoking command: Address already in use: JVM_Bind

jvm 1    | java.lang.reflect.InvocationTargetException: null

jvm 1    |               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_22]

jvm 1    |               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_22]

jvm 1    |               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_22]

jvm 1    |               at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_22]

jvm 1    |               at com.netapp.common.cli.binding.CommandBinding.execute(CommandBinding.java:97) ~[nn-cli.jar:3.0]

jvm 1    |               at com.netapp.common.cli.invocation.CliInvocation.invoke(CliInvocation.java:58) ~[nn-cli.jar:3.0]

jvm 1    |               at com.netapp.dfm.server.ServerMain.main(ServerMain.java:47) [dfm-server.jar:5.0.0.SNAPSHOT]

jvm 1    |               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_22]

jvm 1    |               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_22]

jvm 1    |               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_22]

jvm 1    |               at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_22]

jvm 1    |               at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:247) [wrapper.jar:3.5.3]

jvm 1    |               at java.lang.Thread.run(Thread.java:662) [na:1.6.0_22]

jvm 1    | Caused by: java.net.BindException: Address already in use: JVM_Bind

jvm 1    |               at java.net.PlainSocketImpl.socketBind(Native Method) ~[na:1.6.0_22]

jvm 1    |               at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365) ~[na:1.6.0_22]

jvm 1    |               at java.net.ServerSocket.bind(ServerSocket.java:319) ~[na:1.6.0_22]

jvm 1    |               at java.net.ServerSocket.<init>(ServerSocket.java:185) ~[na:1.6.0_22]

jvm 1    |               at java.net.ServerSocket.<init>(ServerSocket.java:141) ~[na:1.6.0_22]

jvm 1    |               at org.eclipse.jetty.server.bio.SocketConnector.newServerSocket(SocketConnector.java:82) ~[jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125]

jvm 1    |               at org.eclipse.jetty.server.bio.SocketConnector.open(SocketConnector.java:75) ~[jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125]

jvm 1    |               at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:357) ~[jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125]

jvm 1    |               at org.eclipse.jetty.server.bio.SocketConnector.doStart(SocketConnector.java:147) ~[jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125]

jvm 1    |               at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) ~[jetty-util-7.0.1.v20091125.jar:7.0.1.v20091125]

jvm 1    |               at org.eclipse.jetty.server.Server.doStart(Server.java:239) ~[jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125]

jvm 1    |               at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) ~[jetty-util-7.0.1.v20091125.jar:7.0.1.v20091125]

jvm 1    |               at com.netapp.dfm.server.Facade.start(Facade.java:48) ~[dfm-server.jar:5.0.0.SNAPSHOT]

jvm 1    |               ... 13 common frames omitted

jvm 1    | [INFO ] Shutdown hook executing

 

 

 

 

 

 

 

 

 

 


_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users



Back to the top