Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 72473 invoked from network); 11 Feb 2009 08:15:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Feb 2009 08:15:55 -0000 Received: (qmail 62137 invoked by uid 500); 11 Feb 2009 08:15:42 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 62115 invoked by uid 500); 11 Feb 2009 08:15:42 -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 62099 invoked by uid 99); 11 Feb 2009 08:15:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 00:15:42 -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: local policy) Received: from [194.50.176.162] (HELO devel.bitflux.ch) (194.50.176.162) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 08:15:33 +0000 Received: from localhost (localhost [127.0.0.1]) by devel.bitflux.ch (Postfix) with ESMTP id 30B1BE76EB for ; Wed, 11 Feb 2009 09:15:10 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at devel.bitflux.ch Received: from devel.bitflux.ch ([127.0.0.1]) by localhost (devel.bitflux.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id u19qWzy72EmX for ; Wed, 11 Feb 2009 09:15:04 +0100 (CET) Received: from pr.local (unknown [195.226.16.50]) by devel.bitflux.ch (Postfix) with ESMTP id 51857E76E9 for ; Wed, 11 Feb 2009 09:15:04 +0100 (CET) Message-ID: <49928908.7030700@chregu.tv> Date: Wed, 11 Feb 2009 09:15:04 +0100 From: Christian Stocker User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: users@jackrabbit.apache.org Subject: Re: davex question References: <498F42C3.4040309@chregu.tv> <49914BEC.7010700@day.com> In-Reply-To: <49914BEC.7010700@day.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi On 10.2.2009 10:42 Uhr, Angela Schreiber wrote: > hi christian > >> But I also already ran into my first issue. I wrote a little client for >> testing purposes and I can't connect to the Standalone Server with it. >> It aborts with >> javax.jcr.RepositoryException: Unauthorized >> because the Server answers with a 401 on the first REPORT request, which >> is done on RepositoryImpl.create(config). Since I didn't find a way to >> give the User/Password before that REPORT request, I'm a little bit at >> loss now. > > how does your web.xml look like? > can you check if the missing-auth-mapping init-param > is present and its value is empty. That was the general problem. I used jackrabbit-standalone and not jackrabbit-webapp and there web.xml wasn't changed to using JcrRemotingServlet. Copying that pathc to jackrabbit-standalone fixed all the problems and it works fine now. Thanks a lot christian > this forces a null-login on the repository unless auth is > forces (e.g. by sending an auth header). > > then i noticed that your url is "http://localhost:8080/server" > unless you changed the defaults it should probably be > http://localhost:8080/jackrabbit/server. > > apart from that: i quickly made a simple test and it > worked for me. ((i'll add that test setup to spi-contrib)). > > regards > angela