• Exception with multiple repostitory.

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #1500  by leela
 
Hi,

I am have downloaded the version 2.0 source code of openkm, and trying to configure
respective repository for each user, by changing the getRepository()(attached is the DirectRepositoryModule.java modified class), getting the
following the exception:
19:17:18,099 ERROR [RepositoryImpl] failed to start Repository: The repository home D:\\jboss\\jboss-4.2.2.GA\\jboss-4.2.2.GA\\repository appears to be in use since the file named .lock is locked by another process.
javax.jcr.RepositoryException: The repository home D:\\jboss\\jboss-4.2.2.GA\\jboss-4.2.2.GA\\repository appears to be in use since the file named .lock is locked by another process.
at org.apache.jackrabbit.core.util.RepositoryLock.tryLock(RepositoryLock.java:149)
at org.apache.jackrabbit.core.util.RepositoryLock.acquire(RepositoryLock.java:121)
at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:241)
at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:557)
at es.git.openkm.module.direct.DirectRepositoryModule.getRepository(DirectRepositoryModule.java:136)
at es.git.openkm.module.direct.DirectAuthModule.login(DirectAuthModule.java:81)
at es.git.openkm.module.direct.DirectAuthModule.login(DirectAuthModule.java:275)
at es.git.openkm.api.OKMAuth.login(OKMAuth.java:63)
at org.apache.jsp.es_git_openkm_frontend_Main.index_jsp._jspService(index_jsp.java:59)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) [file name=DirectRepositoryModule.txt size=22534]http://www.openkm.com/images/fbfiles/fi ... Module.txt[/file]
 #1508  by pavila
 
There is an unique repository for all user. OpenKM 3.0 has been released last week and perhaps you want to try it.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.