On Sun, Jan 4, 2009 at 6:07 PM, Torsten Curdt <[email protected]> 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
generic.

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

Regards,
Alex

-- 
Alexander Klimetschek
[email protected]

Reply via email to