jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "vikas bhatia" <vik...@gmail.com>
Subject repository login
Date Thu, 11 May 2006 22:10:25 GMT
I am trying to understand how to access a jackrabbit repository from another
process.

I have the jackrabbit server running in a webapp. this creates a .lock file.

now when i try to connect to this repository from another java process, i
get this message The repository home at c:\jackrabbit\repository appears to
be in use since the file at c:\jackrabbit\repository\.lock is locked by
another process. its failing at
RegistryHelper.registerRepository(ctx, REPO_NAME, CONFIG_FILE,
REPO_HOME_DIR, true);

and error at org.apache.jackrabbit.core.RepositoryImpl.acquireRepositoryLock
(RepositoryImpl.java:322)

now according to
http://thread.gmane.org/gmane.comp.apache.jackrabbit.devel/4702/focus=4706,
i need to get a handle on this repository from jndi or rmi registry. is
there any example that explains how to do this or a tip would be helpful.

regards.

vikas.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message