30.08.2001 15:39:33, Carsten Eckelmann <[EMAIL PROTECTED]> wrote:
>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.
there is no read-locking in WebDAV. In some applications (MS Office too, IIRC),
User B will only be able to open the file in write-protected mode, because the
app tries to lock the resource when opening it. normal GET requests are never
affected by a lock though.
>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.
>
>3) Is versioning possible when using the FileContentStore for storing
>content and JDBCDesriptorStore for storing structure?
yup, although the WebdavServlet doesn't support versioning (i.e. DeltaV).
>
>Many thanks in advance,
> Carsten.
>
>
>I will include my Domain.xml.
-chris
_______________________________________________
/=/ cmlenz at gmx.de