You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Fredrik Viklund <fr...@biochem.kth.se> on 2002/07/06 16:52:29 UTC

Tomcat and WebDAV compatability

I have tested Tomcat 4.x with some webdav clients and had some
depressing results.
I can't get it to work with either DreamWeaver or GoLive.

Basically, my question is "Is it Tomcat, GoLive and DreamWeaver or
myself that is not supporting WebDAV properly?"

* Macromedia Dreamweaver MX: Accessing the webdav directory, it is
*really* slow (Dreamweaver virtually hangs) but after a while the file
list is acquired to Dreamweaver.

* Adobe GoLive 6.0: Basically works but has some pecularities
For all(?) folders it reports the an error: "Date and time operations
cannot be performed on this resource." with the description "Server
Error: The date and time string (last modified) sent by the server for
resource "/test/" is not in ISO8601- or RFC0822-format.". In practice
browsing files and folders works fine.
As soon as a file has been opened or locked/checked-out, it becomes
impossible to write to it unlock it again, because of "HTTP Status 423 -
Locked". Trying to unlock a file only tells me that it is already locked
and can't be accessed.

* DAV Explorer: Can't list folder contents. Reading the log file I can
decode that Tomcat claims support for dav version 1 and 2 and the lock
and unlock methods but DAV explorer still can't make anything out of the
information sent from Tomcat.

* Windows 2000 web folders: Works fine

* Litmus (Webdav server protocol compliance test suite): Tomcat passes
12 out of the 13 tests in stage 1. The test that fails is
"mkcol_with_body" and the failure report is "MKCOL with weird body must
fail (RFC2518:8.3.1)".

I have tried this using Tomcat-4.0.4/JDK-1.4.0 on Windows 2000 and
Tomcat-4.1.3-beta/JDK-1.3.1 on OpenBSD and get the same results. (Using
a Zope server worked fine with all clients.)

After doing some Googling, I found the following explanation at
http://faqchest.dynhost.com/prgm/tomcat-l/tmct-01/tmct-0111/tmct-011114/tmct01110721_30463.html

>Subject: Re: Tomcat's WebDAV
>From: "Remy Maucherat"
>Date: Wed, 7 Nov 2001 13:08:30 -0800
>> Lock/Unlock doesn't seem to be working for me. I can list, add and
remove
>> files without a problem, with Web Folders, DAVExplorer, Adobe GoLive
and Cadaver.
>>
>> But if I LOCK a file I won't be able to unlock it. All UNLOCK queries
return
>> with '423 Locked'. Very weird, I already knew the file was locked
:-).
>The UNLOCK will fail unless the client is correctly submitting the
>lock-token. One particularity of Tomcat is that is only returns the
real
>lock-token in the answer to the original lock request. Many clients
don't
>like this, although the behavior is correct (servers are allowed to
>obsfucate lock-tokens returned by a PROPFIND).

>MS Office and the Slide client should beahave correctly. I know DAV
Explorer
>does not. Many other clients may behave ok.

I tried using the Tomcat-Slide package instead, but that proved to be a
really hard task and I never got even read access via WebDAV.
I guess it would be easier if I had an experienced Slide-manager around
:-)

    /Fredrik
j

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>