jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Klimetschek" <aklim...@day.com>
Subject Re: problem accessing repo through JNDI
Date Thu, 28 Aug 2008 08:28:18 GMT
On Thu, Aug 28, 2008 at 1:47 AM, Warner Onstine <wonstine@vmsinfo.com> wrote:
> Ok, I have now setup my repo as outlined here:
> http://jackrabbit.apache.org/shared-j2ee-resource-howto.html
>
> I have one webapp that has setup the repo for access through WebDAV. I have
> another application that only needs read-only access to the repo. The WebDAV
> seems to be working just fine, but the second webapp has constantly been
> having problems gaining access to the repo.
>
> I am getting this error:
> org.apache.naming.NamingContext lookup
> WARNING: Unexpected exception resolving reference
> javax.jcr.RepositoryException: The repository home /Users/warnero/test-repo
> appears to be in use since the file named .lock is locked by another
> process.

This means that another Jackrabbit instances is still running and
using the same repository home directory, which is not possible, hence
this lock mechanism. Maybe you have another JVM with j2ee or
Jackrabbit configured? Or accidentally configured two Jackrabbits in
your container?

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetschek@day.com

Mime
View raw message