Hi ,

Because I had problem with put command, I have changed my slide and also it's container.
Now I am using Slide1.0.12 with Apache Tomcat/4.0-b7-dev.

I've got a problem with propfind, it exits program:

[LAMA.CS.BRIS.AC.UK] /files/ $ mkcol test
Making '/files/test' collection: succeeded.
[LAMA.CS.BRIS.AC.UK] /files/ $ propput test creator bita
Putting property(creator, bita) to '/files/test': succeeded.
[LAMA.CS.BRIS.AC.UK] /files/ $ propget test creator
Getting properties '/files/test': Fatal Error: org.apache.webdav.lib.PropertyName
Command input: propget test creator
java.lang.ClassCastException: org.apache.webdav.lib.PropertyName
        at org.apache.webdav.lib.methods.PropFindMethod.generateQuery(Compiled Code)
        at org.apache.commons.httpclient.HttpClient.sendRequestHeader(Compiled Code)
        at org.apache.commons.httpclient.HttpClient.executeMethod(Compiled Code)
        at org.apache.webdav.lib.WebdavResource.propfindMethod(Compiled Code)
        at org.apache.webdav.cmd.Slide.processCommands(Compiled Code)
        at org.apache.webdav.cmd.Slide$1.run(Compiled Code)
        at java.lang.Thread.run(Compiled Code)
Please, email to [EMAIL PROTECTED]
bin%
I don't know what's wrong with it.
Indeed I have some question about configuration of slide with tomcat 4 :

-why I must open the url with 8081 port number and what the 8080 is reserved for.
-Where I should put my webdav servlets and with which port number I can run them. Do I have to again change the web.xml (in server/webdav/webdav.war) to set my servlet ?

-How can I define roles and permissions for users as a manager and how they could access to thier data with their userld and password.
I know about roles and permissions in Domain.xml also I add three new role in tomcat-user.xml which are root, user and guest. However when I try to access http://localhost:8080/slide/users
with userid and password for user role, it refused to show the page as well for http://localhost:8080/slide/files with guest userid and pw which is refused by system. Only I can access to these pages with userid= root and password= rootbita which I uncommented in Domain.xml:
 <!-- Uncomment and change the password to allow login as root to
             edit the namespace -->
            <revision>
              <property name="password"
               namespace="http://jakarta.apache.org/slide/">rootbita</property>
            </revision>

I don't know how can I organize the roles and permissions.

Any help is appreciated.

Bita.
 
 
 
 
 
 
 
 
 
 
 



Reply via email to