Page 1 of 1

Login error "com.openkm.core.RepositoryException: okm:trash"

PostPosted:Sat Sep 17, 2011 9:06 pm
by supply.rxz
I am getting an "com.openkm.core.RepositoryException: okm:trash" error message displayed in the browser window after login on with an user account which has "UserRole" or "AdminRole".

The error does not occur when using the default "okmAdmin" account or when granting the affected user account the "AdminRole" AND "UserRole".

MySQL is used instead of the default repository. I have configured the MySQL connectivity following the steps described in
http://wiki.openkm.com/index.php/MySQL-OpenKM_5.0

I am using:

OpenKM 5.1.7
Mozilla Firefox 3.6.12
Java JRE java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode, sharing)
MySQL 5.5.16
Operating System Microsoft Windows XP Professional v2002 Service Pack 3

Re: Login error "com.openkm.core.RepositoryException: okm:tr

PostPosted:Mon Sep 19, 2011 5:00 pm
by pavila
Seems you had a problem on initial repository creation. Stop JBoss, delete $JBOSS_HOME/repository folder and start JBoss again. This will create a new empty document repository.

Re: Login error "com.openkm.core.RepositoryException: okm:tr

PostPosted:Sat Sep 24, 2011 9:48 am
by supply.rxz
I am not using the jboss repository! I have configured a MySQL repository.

Re: Login error "com.openkm.core.RepositoryException: okm:tr

PostPosted:Mon Sep 26, 2011 6:12 pm
by jllort
Remove repository folder as indicates pavila, that will restarting repository generation ( could be on mysql or other place ) ... but must delete this folder to automatically recreate repository on jboss start up.

I suggest drop mysql databases and create again. Take a look into if tables are created ( int both databases ).