> Hi,
>
> I have 3 questions:
>
> 1) I now have the WebDavServlet running with the hSQL database. I can
> access the Server with Windows-Webfolders. Now I want the server to
> lock a file for reading/writing, but I don't know how to configure the
Domain.xml
> properly.
>
> I want the following behaviour:
>
> User A: opens file f with e.g. WinWord and edits it.
> User B: tries to open the same file --> but gets an access Error, since
> this file is read&write-locked by User A.
> User A: saves his changes. The file will now be unlocked.
> User B: can now open the file and include her changes.

Some additional info on WebDAV locks in Slide : There were some problems
with locking support in some previous versions of Slide when the lock token
support was added.

Slide has read locks for properties / revision tree / content (but not for
the namespace structure). Since we're allowed by WebDAV to expose additional
lock types, we could expose read locks (but Word wouldn't use them).

> 2) I'm using the hSQL db-engine now, but I would rather use Sybase.
> Unfortunately the scripts provided on your webpage cannot work with
> Sybase because varchar() is limited to 255 and both text/image cannot
> be indexed and thus cannot be primary keys. I wonder why the uri
> fields have to be so large (4000 chars and more!)? If anybody has
> ported the script to sybase, please let me know.

255 chars is very problematic with the current JDBC store, because it stores
the full Uri of the object in that field.

Remy

Reply via email to