jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Nemilentsev <trez...@gmail.com>
Subject jackrabbit over JNDI
Date Thu, 18 Mar 2010 18:19:14 GMT
Hello. I have a question.
Can I obtain a access to a jackrabbit repository
over JNDI?
Jackrabbit-webapp-1.6.0 is deployed with glassfish.
I have JNDI resource:
JNDI Name:         jcr/shared
Resource Type:     javax.jcr.Repository
Factory Class:     org.apache.jackrabbit.core.jndi.BindableRepositoryFactory
Status:            Enabled
repHomeDir         /var/www/repo/
configFilePath     /var/www/repo/repository.xml

then I created in /var/www/repo/ repository in jackrabbit
and restarted glassfish.

When I go in as http://localhost:8080/jcr-explorer/login.jsf
and use JNDI name jcr/shared I obtain error:
javax.jcr.RepositoryException: The repository home /var/www/repo appears to be in use since
the file named .lock is already locked by
the current process.

Is there any solution or I totally wrong?

-- 
Take an astronaut to launch.


Mime
View raw message