• Datasource error while deploying OpenKM 5.0

  • 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.
 #6078  by mateusz
 
Hi,

I've tried to build OpenKM 5 from the SVN trunk. The compilation went fine, without errors and the OpenKM.war was created. The problem occurs when I tried to deploy it on JBoss. Errors like:
14:47:33,624 ERROR [DatasourceConnectionProvider] Could not find datasource: java:/OpenKMDS
javax.naming.NameNotFoundException: OpenKMDS not bound
(...)
14:47:33,627 ERROR [HibernateUtil] Could not find datasource
(...)
14:47:33,644 ERROR [[/OpenKM]] StandardWrapper.Throwable
java.lang.NoClassDefFoundError: Could not initialize class com.openkm.dao.HibernateUtil
I'm using the JBoss from an OpenKM 4 as the base for deploying OpenKM 5, and maybe that's the problem. Maybe the JNDI Datasources names changed? If so, in which files the change should be reflected?

Could you provide us with the JBoss configuration you use for the development of the 5.0 version?

Thanks in advance!

Cheers.
 #6087  by jllort
 
Bad idea, we've still not documented and released how must be compiled OpenKM 5.0.

During august major of OpenKM Team are on holidays, and until september we'll not publish it information. If it's something critical to you, contact us using contact form, if not be patient until september. The database poll it's not the only significant change we've done, you can not deploy version 5.0 under jboss openkm 4.0 configuration ... we've make several changes.
 #6511  by jllort
 
I've finished the developer guide in documentation.

Actual svn checkout is on beta, You can start trying checking out and if you've got some problem tell us and I'll put new extra documentation about 5.0. in developer guide.

Start with actual jboss-openkm from source forge.

If you get some error put in developer forum, it's better than installation forum

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.