[jcifs] Davenport - Can't get WebDav working
Marco Oechslin
M at rco.Oechsl.in
Thu Apr 10 17:02:29 GMT 2008
Hi,
I'm trying to set up Davenport. I spent 5 hours but wasn't successfully.
Browser access works for me but I can't manage to connect with any
WebDav Client. If I try to connect with a WebDav client, I get the
following error:
> 18:46:39.593 EVENT Starting Jetty/4.2.27
> 18:46:39.656 EVENT Started ServletHttpContext[/]
> 18:46:39.656 EVENT Started SocketListener on 127.0.0.1:8081
> 18:46:39.656 EVENT Started org.mortbay.jetty.Server at c40c80
> 18:46:39.703 EVENT Statistics on = false for
> org.mortbay.jetty.Server at e83912
> 18:46:39.703 EVENT Starting Jetty/4.2.27
> 18:46:39.703 EVENT Started org.mortbay.http.NCSARequestLog at 15c7850
> 18:46:39.781 EVENT Started WebApplicationContext[/,Davenport
> WebDAV-SMB Gateway
> - Version 0.9.11]
> 18:46:39.828 EVENT Started SocketListener on 0.0.0.0:8080
> 18:46:39.828 EVENT Started AJP13Listener on 0.0.0.0:8009
> 18:46:39.828 EVENT NOTICE: AJP13 is not a secure protocol. Please
> protect the p
> ort 0.0.0.0:8009
> 18:46:39.828 EVENT Started org.mortbay.jetty.Server at e83912
> 18:47:11.171 WARN!! Exception for /
> java.lang.NullPointerException
> at jcifs.smb.SmbFile.getCanonicalPath(SmbFile.java:1073)
> at smbdav.AbstractHandler.getSmbURL(Unknown Source)
> at smbdav.AbstractHandler.getSmbFile(Unknown Source)
> at smbdav.DefaultOptionsHandler.service(Unknown Source)
> at smbdav.Davenport.service(Unknown Source)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358
> )
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApp
> licationHandler.java:342)
> at smbdav.CompressionFilter.doFilter(Unknown Source)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApp
> licationHandler.java:334)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
> onHandler.java:286)
> at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
> 67)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
> at
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
> Context.java:526)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
> at org.mortbay.http.HttpServer.service(HttpServer.java:879)
> at
> org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
> at
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
> at
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
> 218)
> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
>
I didn't change the web.xml, as Davenporworks using a browser as client
and I assumed therefore the setting is also ok for using a WebDav client.
Please help me to get this work.
Greetings from Switzerland,
Marco
--
_
_.-/ \-.
| /_ Marco Oechslin
/ |/| PGP: 0x8204D39A
/_ . ,_ _| M at rco.Oechsl.in
./ \ __/| / v
v v
More information about the jcifs
mailing list