hi slide-users

ok, i realized that i can activate the debug-loglevel for the jakarta http-client... therefore i can provide a better problem-report. when i try to get an instance of webdavresource i get the following error from tomcat:

425 [main] DEBUG httpclient.wire - << "HTTP/1.1 501 Method PROPFIND is not defined in RFC 2068 and is not supported by the Servlet API [\r][\n]"

is this a version-problem or a missing-jar-problem? the same app runs on my own machine (tomcat 5.x) just fine. on tomcat 4.1.27 at the isp i get this error.

i also read in the group-archive that other users had the same problem with exactly the same tomcat-version...

any suggestions?
stefan


Ingo Brunberg wrote:
here's the stacktrace of the exception, how can i make a session-trace?


tcpmon (part of Axis), ethereal, qdpf, ...

The stacktrace does not help much indeed.

Ingo


stefan

46 [main] INFO ch.previon.deponejo.slide.WebDavClient - WebDAV-Client erstellen
268 [main] ERROR ch.previon.deponejo.slide.WebDavClient - FEHLER! Ein HTTP-Fehler ist aufgetreten!
org.apache.commons.httpclient.HttpException
at org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.java:3430)
at org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.java:3386)
at org.apache.webdav.lib.WebdavResource.setNamedProp(WebdavResource.java:967)
at org.apache.webdav.lib.WebdavResource.setBasicProperties(WebdavResource.java:912)
at org.apache.webdav.lib.WebdavResource.setProperties(WebdavResource.java:1867)
at org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1277)
at org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1296)
at org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1382)
at org.apache.webdav.lib.WebdavResource.<init>(WebdavResource.java:290)
at ch.previon.deponejo.slide.WebDavClient.<init>(WebDavClient.java:63)
at ch.previon.deponejo.test.SlideTest.main(SlideTest.java:44)



Ingo Brunberg wrote:

Stacktrace, trace of the session?



hi slide-users

i've developed a java-class based on the slide-client-api that acts as a webdav-client on a slide-server. until now i had my java-class in eclipse and it connects on a slide-server in the network (other box). works fine.

now i'm trying to deploy this class in a jar (with all libs and so on) to an external server and i get a http-exception as soon as i create an instance of webdavresource. the slide-server runs on the same machine as the jar-app.

the strange thing is that i'm working with values out of a config-file - so i just changed config-values after deployment. additionally i can connect with the cli-client of slide and the browser to this slideserver. but the jar-app on the same box throws the exception. i tried with 127.0.0.1 as well as the official ip-number.

any suggestions?

greetings
stefan


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



Reply via email to