Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 74308 invoked from network); 5 Jan 2009 16:27:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jan 2009 16:27:38 -0000 Received: (qmail 3904 invoked by uid 500); 5 Jan 2009 16:27:38 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 3394 invoked by uid 500); 5 Jan 2009 16:27:37 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 3383 invoked by uid 99); 5 Jan 2009 16:27:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jan 2009 08:27:37 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aklimets@day.com designates 207.126.148.181 as permitted sender) Received: from [207.126.148.181] (HELO eu3sys201aog001.obsmtp.com) (207.126.148.181) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 05 Jan 2009 16:27:28 +0000 Received: from source ([209.85.198.234]) by eu3sys201aob001.postini.com ([207.126.154.11]) with SMTP ID DSNKSWI02tiYlLLhKFOnqgiJJ9cwk0njBSwv@postini.com; Mon, 05 Jan 2009 16:27:08 UTC Received: by rv-out-0506.google.com with SMTP id b25so11609543rvf.45 for ; Mon, 05 Jan 2009 08:27:05 -0800 (PST) Received: by 10.141.5.17 with SMTP id h17mr10442209rvi.165.1231172825797; Mon, 05 Jan 2009 08:27:05 -0800 (PST) Received: by 10.140.132.18 with HTTP; Mon, 5 Jan 2009 08:27:05 -0800 (PST) Message-ID: Date: Mon, 5 Jan 2009 17:27:05 +0100 From: "Alexander Klimetschek" To: users@jackrabbit.apache.org Subject: Re: simple webdav servlet In-Reply-To: <6c59d89a0901040907k3eb90b20iccdd4ecb7ddcb4a5@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6c59d89a0901040907k3eb90b20iccdd4ecb7ddcb4a5@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org On Sun, Jan 4, 2009 at 6:07 PM, Torsten Curdt 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 > > > > > javax.jcr.NoSuchWorkspaceException > webdav > 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 alexander.klimetschek@day.com