users@jersey.java.net

Re: [Jersey] 1.0.2 bookstore sample failing to run

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Tue, 07 Apr 2009 20:58:12 +0200

Hi Arul,

I think it could be the first space character in the URL, which is at
index 18 in the URL:

file:/C:/Documents and Settings/arul/.m2/repository/org/glassfish/
distributions/web-all/10.0-build-20080430/web-all-10.0-
build-20080430.jar

It might be a bug in the Jasper layer.

I recommend emailing users_at_glassfish.dev.java.net.

Paul.

On Apr 7, 2009, at 8:35 PM, Arul Dhesiaseelan wrote:

> I am getting exceptions when I access http://localhost:8080/
> Bookstore/ after starting the glassfish server in the bookstore
> example.
>
> java.net.URISyntaxException: Illegal character in path at index 18:
> file:/C:/Documents and Settings/arul/.m2/repository/org/glassfish/
> distributions/web-all/10.0-build-20080430/web-all-10.0-
> build-20080430.jar
>
>
> Error on the command line:
>
> Apr 7, 2009 12:30:12 PM
> org.apache.catalina.core.ApplicationDispatcher log
> SEVERE: ApplicationDispatcher[/Bookstore] PWC1231: Servlet.service()
> for servlet
> jsp threw exception
> 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.jasper.compiler.AntJavaCompiler.getProject(AntJavaCompiler
> .java:115)
> at
> org.apache.jasper.compiler.AntJavaCompiler.init(AntJavaCompiler.java:
> 151)
> at
> org.apache.jasper.compiler.Compiler.initJavaCompiler(Compiler.java:71
> 9)
> at org.apache.jasper.compiler.Compiler.<init>(Compiler.java:116)
> at
> org.apache.jasper.JspCompilationContext.createCompiler(JspCompilation
> Context.java:272)
> at
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext
>
>
> Any clues why this could be failing?
>
> -Arul
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>