users@jersey.java.net

Re: [Jersey] Jersey + WEBDav problem on Tomcat 6

From: Christopher Schmidt <Christopher.Schmidt_at_eads.com>
Date: Thu, 05 Feb 2009 11:48:51 +0100

Hi Paul,

We are using Jersey Version 1.0.1.

We are currently using the WebDAV code that is in the jersey branch (checked
in by MKARG).

With Grizzly we have no issues, with Tomcat we have (using Jerseys
com.sun.jersey.spi.container.servlet.ServletContainer).
It seams that the PROPFIND methods are not delegated to our WebDAV
ressource.

Christopher.

 


Am 05.02.09 11:40 schrieb "Paul Sandoz" unter <Paul.Sandoz_at_Sun.COM>:

> Hi Phil,
>
> What version of Jersey are you using?
>
> Have you tried supporting a simple @GET request and using a browser?
>
> Can you send me the resource class, the URL you are using, and your
> implementation of @PROPFIND?
>
> Note that others have been working with Jersey, JAX-RS and WebDAV without
> issue. Marcus, who has started a specific WebDAV project for JAX-RS
> implementations, has been using Jersey without issue in this respect.
>
> Note that you might want to add a filter on the Tomcat side to look at the
> request being sent by the MAC finder.
>
> I am sure you can do this in Tomcat but you can also use a Jersey filter (if
> using version 1.0.1) by adding the following to init-param to the servlet of
> your web.xml:
>
> <init-param>
>
> <param-name>com.sun.jersey.spi.container.ContainerRequestFilters</param-name>
>
> <param-value>com.sun.jersey.api.container.filter.LoggingFilter</param-value>
> </init-param>
>
> Paul.
>
>
> On Feb 5, 2009, at 10:18 AM, Philipp Noggler wrote:
>
>> Hello
>>
>> Iıve written a service which can handle WEBDav requests via 2 methods marked
>> as WEBDav related service methods by @PROFIND annotation. The service is
>> registered within Tomcat but when accessing the Url from e.g. MACıs finder,
>> the call is rejected as the finder tells me that server cannot be found on
>> the network. For the record, Tomcat is up and running properly, all the
>> services are registered and I can see Log4j output when I access the service
>> URL. But the WEBDavıs PROPFIND method is never called. Anyone got the same
>> problem when running Jersey + WEBDav on Tomcat 6?
>>
>> Thanks in advance
>>
>> Regards
>>
>> Phil
>>
>
>