Hi

Forwarding to the users list...

I do suspect it's the ServletController's issue to do with the way the
handles matrix parameters

Do you actual request URIs having matrix params like this :

/service/v1/device/70%2F%2F70%5C70.v1.0;optionId=1

?

thanks, Sergey

On Tue, Mar 8, 2011 at 6:42 PM, kh <[email protected]> wrote:

> I get this message when I have two encodes /s in the path %2F%2F
> WARNING: .No root resource matching request path
> /service/v1/device/70%2F%2F70%5C70.v1.0 is found.
> However:
> /service/v1/device/70%2F70%5C70.v1.0
> works fine.
>  I'm using cxf 2.2.3
>
> I have
>   org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true
>   org.apache.catalina.connector.CoyoteAdapter.ALLOW_BACKSLASH=true
> set.
>
> My annotations are:
>
>
> @Path("/v1/device")
> public class Device extends com.netflix.customer.eds.Device {
>
>    @GET
>    @Path("/{esn}")
>    @Consumes("application/xml")
>    @Produces("application/xml")
>    /* for error cases only */
>    @Transactional(rollbackFor = {Throwable.class})
>    public Response get(@Context HttpServletRequest request,
>                        @PathParam("esn") String esn,
>                        @MatrixParam("optionId") Long optionId)
>
> I gt the same response weather or not I include the matrix parameter.
>
> Am I missing something?
>
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/WARNING-No-root-resource-matching-request-path-service-v1-device-70-2F-2F70-5C70-v1-0-is-found-tp3414401p3414401.html
> Sent from the cxf-dev mailing list archive at Nabble.com.
>



-- 
Sergey Beryozkin

Application Integration Division of Talend <http://www.talend.com>
http://sberyozkin.blogspot.com

Reply via email to