users@jersey.java.net

GrizzlyServerFactory ignores the path info from URI

From: Srinivas Naresh Bhimisetty <Srinivas.Bhimisetty_at_Sun.COM>
Date: Tue, 27 Jan 2009 15:45:47 +0530

Hi,

   I was playing around with the GrizzlyServerFactory API and found the
following issue:

The API ignores any path info from the URI used to create a
SelectorThread instance.
Say for example, I try to create the SelectorThread as:
GrizzlyServerFactory.create("http://localhost:9998/helloworld-webapp",
resourceConfig);
All works fine and the thread starts running, but when I try to GET [1]
it returns 404 status code. However, for [2] it gives the expected output.

Is it as per design that the factory ignores the path elements from the URL?

[1] http://localhost:9998/helloworld-webapp/helloworld
[2] http://localhost:9998/helloworld

Thanks,
Naresh