• Cannot change configuration file

  • 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.
 #9276  by evanoktavianus
 
Dear all,

I have tried to enable the webdav access by adding "system.webdavon" on the openKM.cfg file but it wont work. Accessing the webdav url only gives me webdave is disabled warning. I then altered the configuration to "system.webdav=on" but it still wont work.

I begin to realize that the problem might not be in the webdav configuration; i just simply cannot change the configuration of the whole openKM system. I realized that when i see the "hibernate.hbm2ddl = create" warning even when i already altered the line within the openKM.cfg into hibernate.hbm2ddl=none".

One interesting point is that when i deliberately removed the openKM.cfg file, the server log indicate that openKM did not find configuration file and will use default setting instead. It shows that openKM does look for the configuration file.

Can anyone help me? is there any special syntax that i didnt get quite right there? i understand that the "#" mark means commenting the configuration, is there anything else that i need to know?

Also, is there any way that i can see the configuration taken by the openKM on the fly, like debug mode or something?

Thanks, really appreciate any assistance.
Evan Oktavianus
 #9287  by joako
 
If you issue the command:

ps aux | grep java

Do you see any running process? Assume you only have OpenKM and Apache, etc nothing more on your server. The only java process you have will be for OpenKM, you can end it if you issue the command:

kill <PID>

Where <PID> is the number that is shown in the first command (ps)
 #9289  by evanoktavianus
 
Hi, thanks for replying,,i really appreciate it.
I work on a windows environment, so i can't really use ps command. However, i already tried restarting my computer so i guess the problem of restarting the jboss server shouldn't be an issue.

Can I have someone clarify on some points here:
1. do i need to add "system.webdav≠on" or "system.webdav=on" with equal sign into the OpenKM.cfg?
2. When people already change their config into: "hibernate.hbm2ddl = none", will they normally see the "hibernate.hbm2ddl = create" warning on the login page?
3. Is there any other option other than Webdav so that my scanner can directly put scanned files into OpenKM repository?

Thanks a lot ^_^
 #9291  by jllort
 
the property is
Code: Select all
system.webdav=on
Simply after change it on OpenKM.cfg and saved, restart the jboss, nothing else.
 #9293  by evanoktavianus
 
Here is my openkm.cfg:
Code: Select all
 
system.webdav=on
# Default configuration values
#
# repository.config=repository.xml
# repository.home=repository
# system.user=system
# default.user.role=UserRol
# default.admin.role=AdminRol
# principal.adapter=com.openkm.core.UsersRolesPrincipalAdapter
# max.file.size=5
# max.search.results=25
# system.demo=off
#restrict.file.mime=off
#restrict.file.extension=*~,*.bak,._*
#system.ocr=/usr/bin/tesseract
#system.openoffice.path=/usr/lib/openoffice
#system.img2pdf=/usr/bin/convert
#system.pdf2swf=/usr/bin/pdf2swf
#system.antivir=/usr/bin/clamscan
#hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
#hibernate.dialect=org.hibernate.dialect.HSQLDialect
hibernate.hbm2ddl=none
#application.url=http://localhost:8080/OpenKM/com.openkm.frontend.Main/index.jsp
#max.file.size=060520010
#principal.adapter=com.openkm.principal.DatabasePrincipalAdapter
#notify.twitter.user=openkm
#notify.twitter.password=****
#subscription.message.body=Prueba.vm

FYI, i edited the file on notepad, is it ok?
i tried it on another computer with no result. Is there a possibility that there was something wrong file the system files i downloaded? Could we in anyway see the webdav properties on the fly?

thanks ^_^

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.