jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Klimetschek" <aklim...@day.com>
Subject Re: simple webdav servlet
Date Mon, 05 Jan 2009 16:27:05 GMT
On Sun, Jan 4, 2009 at 6:07 PM, Torsten Curdt <tcurdt@apache.org> wrote:
> The servlet and repo seems to start up just fine. But when accessing it at
>  http://localhost:8080/webdav/repository/default
> (mapped as /webdav/*) all I get is
> <?xml version="1.0" encoding="UTF-8"?>
> <D:error xmlns:D="DAV:">
> <dcr:exception xmlns:dcr="http://www.day.com/jcr/webdav/1.0">
> <dcr:class>javax.jcr.NoSuchWorkspaceException</dcr:class>
> <dcr:message>webdav</dcr:message></dcr:exception>
> </D:error>

It seems he is looking for a "webdav" workspace. Looks like the URL
mapping you use is breaking it - someone is probably using the last
part of the URL path as the workspace name, which would be "default"
for the normal "http://localhost:8080/webdav/repository/default" and
"webdav" for your "http://localhost:8080/webdav/*". Not sure if this
is bug, but I think the implementation is in [1] and ought to be

[1] https://svn.apache.org/viewvc/jackrabbit/tags/1.5.0/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/AbstractLocatorFactory.java?view=markup


Alexander Klimetschek

View raw message