• [resolved] Can't modify parameters withinconf. interface

  • 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.
 #11820  by gelinp
 
Hi,

I've installed openKm into /opt directory with user root.ww-data user. I can log in with okmAdmin and going to adminsitration. But modifications to openKM.cfg file and I restart the application, the file openKM.cfg looks empty... I modify parameters using administration interface (configuration) I can see that into "generate thesaurus" interface*. But if I shutdown jboss server then after the restart the thesaurus configuration is empty...

I modified directly /opt/jboss-4.2.3.GA/OpenKM.cfg but it's the same problem I can't see my Thesaurus configuration into openKM administration interface.

By the way, I chmod OpenKM.cfg as root.www-data [770], so Apache (and may be jboss) with www-data profil can modify the file ! So I don't understand the problem !

Thank you for your help.
Patrick

* : But I can't generate vocabulary of the exemple...

OpenKM.cfg file :
Code: Select all
#system.ocr=/usr/bin/cuneiform
#system.openoffice.path=/usr/lib/openoffice
#system.imagemagick.convert=/usr/bin/convert
#system.swftools.pdf2swf=/usr/bin/pdf2swf
#system.antivir=/usr/bin/clamscan
hibernate.dialect=org.hibernate.dialect.HSQLDialect
hibernate.hbm2ddl=create
#application.url=http://localhost:8080/OpenKM/com.openkm.frontend.Main/index.jsp
kea.thesaurus.owl.file=/vocabulary/inroute.owl
kea.thesaurus.base.url=http://www.inroutenetwork.org
kea.thesaurus.tree.root=SELECT DISTINCT UID, TEXT FROM {UID} Y {OBJECT}, {UID} rdfs:label {TEXT} ; [rdfs:subClassOf {CLAZZ}] where not bound(CLAZZ) and lang(TEXT)="en" USING NAMESPACE foaf=<http://xmlns.com/foaf/0.1/>, dcterms=<http://purl.org/dc/terms/>, rdf=<http://www.w3.org/1999/02/22-rdf-syntax-ns#>, owl=<http://www.w3.org/2002/07/owl#>, rdfs=<http://www.w3.org/2000/01/rdf-schema#>, skos=<http://www.w3.org/2004/02/skos/core#>, dc=<http://purl.org/dc/elements/1.1/>
kea.thesaurus.tree.childs=SELECT DISTINCT UID, TEXT FROM {UID} rdfs:subClassOf {CLAZZ}, {UID} rdfs:label {TEXT} where xsd:string(CLAZZ) = "RDFparentID" and lang(TEXT)="en" USING NAMESPACE foaf=<http://xmlns.com/foaf/0.1/>, dcterms=<http://purl.org/dc/terms/>, rdf=<http://www.w3.org/1999/02/22-rdf-syntax-ns#>, owl=<http://www.w3.org/2002/07/owl#>, rdfs=<http://www.w3.org/2000/01/rdf-schema#>, skos=<http://www.w3.org/2004/02/skos/core#>, dc=<http://purl.org/dc/elements/1.1/>
p.s.: how to upload boot.log and server.log because forum refuse to upload any files ?
Last edited by gelinp on Wed Aug 17, 2011 7:04 am, edited 1 time in total.
 #11832  by pavila
 
Starting from OpenKM 5.1 configuration is managed from Administration (and stored in database), so OpenKM.cfg is not the right place. This file only is used to read a couple of configuration properties related to database backend (Hibernate).
 #11833  by gelinp
 
ok i've seen this information today looking for a response into documentation. But I'm using the web administration interface of OpenKM but how to save it ? I can't find a buton to save and I can oly quit the current session and restor it to get back parameters, but if I stop jboss then OpenKM restart with initial parameters... So the question is how to fix mofifications ? May be the problem is because I store application into /opt repository with www-data.www-data, and it's difficult to use apache to manage a repository outside /var/www/..

Thank you for your help.
Patrick
 #11843  by gelinp
 
The problem was in OpenKM.cfg :

change

hibernate.hbm2ddl=create

to

hibernate.hbm2ddl=none

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.