I'm trying to use the slide client API (TC 3.2.1 ,slide M8)

I've got the following errors while querying the server :

1)
WARNING - Access denied on /users by user /users/guest for action /actions/read
20 Mar 2001 17:08:21 - WARNING - Access denied on /actions by user /users/guest for 
action
/actions/read

The propfind request returns a 500 status error, an exception is thrown while putting
documents :
org.apache.webdav.lib.WebdavException: Unable to process request

2) ok the authentication directives in the file web.xml were commented out.Why not.
I restart the server with the following directives :
tomcat-users.xml :
 <user name="john"  password="john"   roles="tomcat,role1,root" />
Domain.xml : unchanged

3) The result is the same. Adding authentication directives has just allow to display 
a pop
up when accessing /slide on my server (john,john works fine) and display the Directory
Listing / with full slide informations

4) I noticed a difference between this two tries :
In the second case, the server doesn't log anything in the debug interface. Why ??

I'm not sure to understand exactly how slide manage users. Perhaps I could have also a
configuration problem.

5 ) So to resume :
- I place the slide.war in the webapps repository
- I configure servers.xml and mod_jk.conf to allow servlets execution in slide 
repository
- I add authentication directives in the web.xml file (3)
- I start my server , full information are displayed and the slide repository  has been
created.
- I access /slide via my web browser , and I authenticate myself with john,john
- Ok it's work (Clicking on actions does not work !)
- Now I try to do the same with the client API :
WebdavClient client = new WebdavClient();
client.startSession("localhost", 8080);
client.setCredentials("john","john");
and then : getMethod, putMethod , propfind as describe in examples ...

Why it doesn't work ?

Thanks in advance for any help.







Reply via email to