You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Aruna Goli <ar...@covigna.com> on 2003/08/07 21:41:06 UTC

Webdav client and logging

Hello 

 I deployed slide.war and slide-admin.war in weblogic. For now I have
set that no authentication needs to be done. 

 I have a webdav test client program that I am trying to test. However I
am getting an internal error. I have attached my program here

1. Can anyone please let me know if I am missing something.

2. I tried to set the log4j.properties to the DEBUG level however it
still does not display the error messages

Thankyou
Aruna

     [exec] <Aug 7, 2003 11:26:18 AM PDT> <Info> <NT Performance Pack>
<Allocati
ng: '2' NT reader threads>
     [exec] 07 Aug 2003 11:26:18 - org.apache.slide.webdav.WebdavServlet
- INFO
- OPTIONS = 200 OK (time: 70 ms) URI = /
     [exec] 07 Aug 2003 11:26:18 -
org.apache.slide.transaction.SlideTransaction
Manager - INFO - Rollback Transaction 5 xid ExecuteThread: '22' for
queue: 'defa
ult'-1060280778460-5- in thread ExecuteThread: '22' for queue: 'default'
     [exec] 07 Aug 2003 11:26:18 - org.apache.slide.webdav.WebdavServlet
- INFO
- MKCOL = 500 Internal Server Error (time: 0 ms) URI = /
     [exec] 07 Aug 2003 11:26:18 - org.apache.slide.common.Domain -
WARNING - Ac
cess denied on /users by user /users/guest for action /actions/read
     [exec] 07 Aug 2003 11:26:18 - org.apache.slide.common.Domain -
WARNING - Ac
cess denied on /actions by user /users/guest for action /actions/read
     [exec] 07 Aug 2003 11:26:18 - WARNING - WARNING: No active
transaction
     [exec] 07 Aug 2003 11:26:18 - org.apache.slide.webdav.WebdavServlet
- INFO
- GET = 200 OK (time: 20 ms) URI = /
     [exec] <Aug 7, 2003 11:27:50 AM PDT> <Info> <Management>
<Configuration cha
nges for domain saved to the repository.>





---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: Webdav and mkcol method

Posted by Martin Holz <ho...@fiz-chemie.de>.
Hi,

you watched for log file of the client? There is also a log file for the
the server or maybe two. These should give you more details. But if I understand
your log right, you tried to create the collection /. This will not work.
Did you map your webdav servlet to /? Usually it is mapped to /webdav.
But even if it is mapped to /, Slide will create its root collection at startup
and you can't create it ny MKCOL.
If I try to create the root collection, I get something like   

Creating `/webdav': failed:
403 Forbidden: org.apache.slide.webdav.method.MkcolMethod.restrictedDestinationUri
 
Can you access the URL / through a normal Webbrowser?

--
Martin Holz     <ho...@fiz-chemie.de>

Softwareentwicklung / Vernetztes Studium - Chemie
FIZ CHEMIE Berlin
Franklinstrasse 11
D-10587 Berlin     



Re: Webdav and mkcol method

Posted by Martin Holz <ho...@fiz-chemie.de>.
Hi,

you watched for log file of the client? There is also a log file for the
the server or maybe two. These should give you more details. But if I understand
your log right, you tried to create the collection /. This will not work.
Did you map your webdav servlet to /? Usually it is mapped to /webdav.
But even if it is mapped to /, Slide will create its root collection at startup
and you can't create it ny MKCOL.
If I try to create the root collection, I get something like   

Creating `/webdav': failed:
403 Forbidden: org.apache.slide.webdav.method.MkcolMethod.restrictedDestinationUri
 
Can you access the URL / through a normal Webbrowser?

--
Martin Holz     <ho...@fiz-chemie.de>

Softwareentwicklung / Vernetztes Studium - Chemie
FIZ CHEMIE Berlin
Franklinstrasse 11
D-10587 Berlin     



---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Webdav and mkcol method

Posted by Aruna Goli <ar...@covigna.com>.
Thankyou Martin, I changed the logging level in Domain.xml but I guess
the code does not have any debug messages so did not give me any other
information. 


I deployed the following wars
Slide.war
Slide-admin.war
Slide-doc.war
Slide-webdav.war

However it does not seem to recognize the mkcol method, has anyone used
this? I am just trying to run a sample program that comes with slide.
Attaching the program here. 

This is the error message

no entries in http://tomcat:tomcat@localhost:7001/slide%2Dwebdav
Exception in thread "main" java.lang.RuntimeException: Could not create
http://O
palSystem:opal@localhost:7001/slide%2Dwebdav/out
        at WebdavTest.testWrite(WebdavTest.java:139)
        at WebdavTest.main(WebdavTest.java:235)


Thankyou
aruna


-----Original Message-----
From: news [mailto:news@main.gmane.org] On Behalf Of Martin Holz
Sent: Thursday, August 07, 2003 11:58 PM
To: slide-user@jakarta.apache.org
Subject: Re: Webdav client and logging


"Aruna Goli" <ar...@covigna.com> writes:

> Hello
> 
>  I deployed slide.war and slide-admin.war in weblogic. For now I have 
> set that no authentication needs to be done.
> 
>  I have a webdav test client program that I am trying to test. However

> I am getting an internal error. I have attached my program here
> 
> 1. Can anyone please let me know if I am missing something.
> 
> 2. I tried to set the log4j.properties to the DEBUG level however it 
> still does not display the error messages

Setting log4j debug level would not affect slide logging. You can set
the log level at the top of your Domain.xml.


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: Webdav client and logging

Posted by Martin Holz <ho...@fiz-chemie.de>.
"Aruna Goli" <ar...@covigna.com> writes:

> Hello 
> 
>  I deployed slide.war and slide-admin.war in weblogic. For now I have
> set that no authentication needs to be done. 
> 
>  I have a webdav test client program that I am trying to test. However I
> am getting an internal error. I have attached my program here
> 
> 1. Can anyone please let me know if I am missing something.
> 
> 2. I tried to set the log4j.properties to the DEBUG level however it
> still does not display the error messages

Setting log4j debug level would not affect slide logging. You can set
the log level at the top of your Domain.xml.


Re: Webdav client and logging

Posted by Martin Holz <ho...@fiz-chemie.de>.
"Aruna Goli" <ar...@covigna.com> writes:

> Hello 
> 
>  I deployed slide.war and slide-admin.war in weblogic. For now I have
> set that no authentication needs to be done. 
> 
>  I have a webdav test client program that I am trying to test. However I
> am getting an internal error. I have attached my program here
> 
> 1. Can anyone please let me know if I am missing something.
> 
> 2. I tried to set the log4j.properties to the DEBUG level however it
> still does not display the error messages

Setting log4j debug level would not affect slide logging. You can set
the log level at the top of your Domain.xml.


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org