jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Stocker ...@chregu.tv>
Subject Re: davex question
Date Wed, 11 Feb 2009 08:15:04 GMT

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

Copying that pathc to jackrabbit-standalone fixed all the problems and
it works fine now.

Thanks a lot


> 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

View raw message