chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flo <enjoi...@googlemail.com>
Subject Re: UriTemplate for AtomPubCMIS.URITMPL_OBJECT_BY_PATH does not work for jax-rs binding
Date Fri, 08 Jan 2010 18:06:09 GMT
Thanks for that. But I think it's a Bad request from the TCK because
somethin/%2Fsomething is somethin//something thats one slash too
mutch. so it will not success if I start apache with the allow encode
%2F option.

Regards Florian

On Fri, Jan 8, 2010 at 6:16 PM, Florent Guillaume <fg@nuxeo.com> wrote:
> When I say I use CXF 2.2.2 it's actually inside unit tests, so the
> servlet container used is not Tomcat but an embedded Jetty, which
> doesn't have any problem with %2F.
>
> Florent
>
> On Fri, Jan 8, 2010 at 6:02 PM, Flo <enjoiflo@googlemail.com> wrote:
>> I use jax-rs cxf 2.2.2 as well. If I type the path without the %2F's
>> in browser or via curl it's ok. strange.
>>
>> Florian Roth
>>
>> On Fri, Jan 8, 2010 at 5:18 PM, Florent Guillaume <fg@nuxeo.com> wrote:
>>> That's very strange, it works well for me with the JAX-RS
>>> implementation from CXF 2.2.2 (used in unit tests), but apparently
>>> your JAX-RS implementation (which is it?) fails. And I just tested
>>> with RESTEasy 1.0.2 and it fails as well.
>>>
>>> I'll investigate -- but you're right this must have something to do
>>> with the path percent-decoding.
>>>
>>> Florent
>>>
>>> On Fri, Jan 8, 2010 at 3:35 PM, Flo <enjoiflo@googlemail.com> wrote:
>>>> Yes, im sure. I use jaxrs and configure it with spring and deploy on
>>>> Apache tomcat 6.x
>>>>
>>>> Is it possible that Tomcat has problems with %2F ? I ve no idea.
>>>> GetObjectByPath in Abderaresource is never called.
>>>>
>>>
>>>
>>> --
>>> Florent Guillaume, Director of R&D, Nuxeo
>>> Open Source, Java EE based, Enterprise Content Management (ECM)
>>> http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87
>>>
>>
>
>
>
> --
> Florent Guillaume, Director of R&D, Nuxeo
> Open Source, Java EE based, Enterprise Content Management (ECM)
> http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87
>

Mime
View raw message