• Repository

  • 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.
 #810  by jbriones
 
Buenas tardes: antes de ejeceutar el run por primera vez he cambiado el openkm.cfg para que el reositorio se encuentre en otra unidad z:/

# Default configuration values
#
repository.config=repository.xml
repository.home=z:/repository
# system.user=system
# default.user.role=UserRol
# default.admin.role=AdminRol
# principal.adapter=es.git.openkm.core.UsersRolesPrincipalAdapter
max.file.size=10
# max.search.results=25

despues ejecuto el run y me logeo con user 1 pass 1 obteniendo el siguiente mensaje de error:

Invalid workspace root directory: C:\\OpenKM-2.0_JBoss-4.2.2.GA/z:/repository/workspaces


Por favor, que estoy haciendo mal???
 #813  by pavila
 
Actualmente, el repository.home es relativo al $JBOSS_HOME. De modo que tendrías que hacer un link hacia la otra unidad. Lo malo es que esto en Windows creo que no funciona pq no son links a nivel de sistema de ficheros.
 #1638  by blandobardo
 
Yo he suelto el problema escribiendo algunos ../../../ antes de el path relativo..
ahora mi Openkm.cfg es asì:
Code: Select all
# Default configuration values
#
 repository.config=repository.xml
 repository.home=../../../media/raid_data/repository
# system.user=system
# default.user.role=UserRol
# default.admin.role=AdminRol
# principal.adapter=es.git.openkm.core.UsersRolesPrincipalAdapter
# max.file.size=5
# max.search.results=25
ahora pero tiengo otro error:

\"The repository home /media/raid_data/repository appears to be already locked by the current process.\"

he probado de cancelar el fichero .lock y ponerlo escribible con un chmod 777 .lock y tiengo el mismo error plus el sigiente error en la shell:
Code: Select all
\"14:55:17,091 ERROR [[/OpenKM]] Servlet /OpenKM threw load() exception
javax.servlet.ServletException: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager: Cannot log transaction changes, maybe trying to write to a read only database.
\"
muchas gracias
 #1648  by pavila
 
Ese error se ve feo. Parece que no tiene permisos o que no ha creado los ficheros correctamente la primera vez. Prueba a parar el JBoss, borrar el repositorio y volveer a iniciarlo. Se borrará todo, de modo que cuidado con lo que has subido porque desaparecerá.

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.