• Error in Logon - New PC

  • 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.
 #13670  by capitao2000
 
Hello

I've benn woek In OpenKm since a long time with no problems. I've installed OpenKM in a machine with a Xp 32bit and java version is 1.7.0. Now I transfer the directory where OpenKM was to other computer with windows 2000 SP4 with java 1.6.30. I assume the same ip to the new machine and try to login. The result is the folwing error: java.lang.ClassCastException: org.apache.jackrabbit.core.config.ConfigurationException cannot be cast to javax.jcr.LoginException and beside Go to login page, as you can see in the attached image. What can I do? Thanks in advance...
Attachments
openkm_error.JPG
openkm_error.JPG (9.4 KiB) Viewed 2755 times
 #13688  by jllort
 
You've done a migration no ?

1- Ensure jboss path are same in older server that never
2- I suggest downgrade to java 1.6, jboss have some problems with java 1.7

We'll be waiting your feedback
 #13698  by capitao2000
 
jllort wrote:You've done a migration no ?

1- Ensure jboss path are same in older server that never
2- I suggest downgrade to java 1.6, jboss have some problems with java 1.7

We'll be waiting your feedback
jllort, thanks a lot. The problem was really in the path. In the olf computer I've Jboss in drive C. Then I'ce copied to the new computer, bur in D Drive. If I put the Jboss in C Drive in the new computer works fine. Even with the java version downgraded (1.6.30). I thnink w2k doesn't support java 7. One more time thank you!!!!! :D :D :D :D :D
 #13715  by jllort
 
If you want to change the path, should change configuration home.repository value at administration. Better if you do it directly in database with OpenKM stopped.
 #18312  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.