Ok, you are mixing apples and oranges.

The command you are doing is against the tomcat webdav application and NOT
slide, i.e. you are connecting to /webdav and not /slide  and the tomcat
/webdav application is NOT the same as slide and is NOT a full webdav
implementation and does NOT support properties AFAIK.

Connect to slide and try it again. 


Michael Oliver
CTO
Alarius Systems LLC
6800 E. Lake Mead Blvd, #1096
Las Vegas, NV 89156
Phone:(702)643-7425
Fax:(702)974-0341
*Note new email changed from [EMAIL PROTECTED]

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 08, 2005 7:03 AM
To: Slide Users Mailing List
Subject: RE: Newbie question: getting WebDAV Properties to work

Sorry for any confusion - I am setting the property by using the
command-line Slide client using the PROPPATCH command (but I have also tried
doing it with code).

[ Slide ] $ connect http://polecat:1976/webdav connect
http://polecat:1976/webdav/ [POLECAT:/webdav/]
E:\Web\jakarta-slide-webdavclient-src-2.1\dist\bin $ proppatch
/webdav/textfile.txt TestProp TestValue Putting property(TestProp,
TestValue) to '/webdav/textfile.txt': failed. 
Not Implemented (501)

As for web.xml - the web.xml I have modified is:
webapps/webdav/WEB-INF/web.xml

I merely uncommented the line specified in the web.xml that says to
uncomment if you want read/write access:
    <!-- Uncomment this to enable read and write access -->
    <init-param>
      <param-name>readonly</param-name>
      <param-value>false</param-value>
    </init-param>

Thanks-






"Michael Oliver" <[EMAIL PROTECTED]>
09/08/2005 09:26 AM
Please respond to "Slide Users Mailing List"

 
        To:     "'Slide Users Mailing List'" <slide-user@jakarta.apache.org>
        cc: 
        Subject:        RE: Newbie question: getting WebDAV Properties to
work


You neglected to say how you were trying to set a property.  Were you using
code or the client?  When you say you "modified the WebDAV web.xml to allow
read/write..." do you mean /webapps/slide/WEB-INF/web.xml or
/webapps/slide/WEB-INF/web.xml ? The later has nothing at all to do with
slide and if you are using the bundle there is no change to slide's web.xml
needed to enable read/write.


Michael Oliver
CTO
Alarius Systems LLC
6800 E. Lake Mead Blvd, #1096
Las Vegas, NV 89156
Phone:(702)643-7425
Fax:(702)974-0341
*Note new email changed from [EMAIL PROTECTED]

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 08, 2005 6:04 AM
To: slide-User@jakarta.apache.org
Subject: Newbie question: getting WebDAV Properties to work

I have just recently started using Slide with Tomcat.  For the server I am
using the combined Slide 2.1 and Tomcat 5.0.28 package, and for the client I
am using Slide 2.1.

I am able to read and write files on the Slide server via WebDAV with no
problems.  However if I try to set a property on any file, I will always get
a "501 Not Implemented" error.  I tried looking about for any info on
properties but didn't find anything obvious (either saying they were't
supported or pointing to some configuration change necessary to enable
them.)  On the Tomcat console, all I see is this message:

[PROPPATCH] /textfile.txt


A few more details: I am running on Windows XP.  My server also has Axis
installed, the port is 1976 instead of 8080, and I have modified the WebDAV
web.xml to allow read/write access.  For the client, I have tried calling
the Slide API from some custom Java code, and also tried the command-line
tool that comes with Slide.

Thanks-


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to