Hi

On Sun, Jan 30, 2011 at 8:58 AM, Rice Yeh <[email protected]> wrote:

> Hi,
>  I just find that registering CXFNonSpringSerlvet to alias "/" will cause
> problem when running on Pax Web. The problem is that the method
> getBaseAddress(Message) in org.apache.cxf.jaxrs.utils.HttpUtils class will
> wrongly return the the request address ("a/b/c") appended with "/", that is
> ("a/b/c/"), instead of the correct servlet path ("/").  I think that this
> is
> more likely a bug of Pax Web. What will you think?
>
> Can you please give a bit more info ? Can you please start from
HttpUtils.getPathToMatch() and see how the wrong value gets produced in the
end ?

When you register CXFJaxrsNon/cSpringSerlvet on "/", what happens with
request URIs such as http://localhost:8080/a/b/c ?
Do you rely by any chance on the CXF http osgi transport ? If yes then could
be some issues there re handling "/".

cheers, Sergey



> Rice
>

Reply via email to