• Migration from 5.1.5 to 5.1.6

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
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.
 #11542  by Odera
 
I followed the instructions given at: http://wiki.openkm.com/index.php/Migrat ... 5_to_5.1.6

But when I try to login, I receive an error:
java.lang.ClassCastException: org.apache.jackrabbit.core.config.ConfigurationException cannot be cast to javax.jcr.LoginException
Go to login page
My host system is a single-core 32-bit Linux running Ubuntu Server 10.04. The system has 2GB RAM.

Please advise.

Thank you for a great KMS.
 #11557  by jllort
 
1- Stop jboss
2- Try removing the library server/default/lib/hibernate-annotations.jar ( backup this library, because I'm not sure that this could be the problem, and could be possible you need to restore)
3- Start jboss
 #11586  by Odera
 
Thanks for the quick reply. As it turns out, I was running Ubuntu's default OpenJDK. This issue does not appear with Sun's JDK.
 #11595  by jllort
 
we encourage using java sun jdk because is version which we developing application and which is certified by us during testing. We do not use open jdk and we could not be sure all runs correctly with it.
 #18313  by tuxtux1981
 
Hello, I had the same trouble, and there is an easy way to solve it.

I made a full backup instead only the repository. It is running on Ubuntu 11.10, a Proliant HP Server.

There is an script in the next path (of course I installed OpenKM in /opt/, you can change it to your own path):

/opt/jboss-4.2.3.GA/server/default/data/hypersonic/

There is a file "OKM_APP.script, you can open it with vi or nano and search repository.
There are two lines, that refers to the repository path.

INSERT INTO OKM_CONFIG VALUES('repository.config','string','/opt/jboss-4.2.3.GA/repository.xml')
INSERT INTO OKM_CONFIG VALUES('repository.home','string','/opt/jboss-4.2.3.GA/repository')

So, I changed that path, to the new PATH. I tried it in other Linux distribution and Windows.

This is an example
INSERT INTO OKM_CONFIG VALUES('repository.config','string','D:\OpenKM_BK\repository.xml')
INSERT INTO OKM_CONFIG VALUES('repository.home','string','D:\OpenKM_BK\repository')

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.