Page 1 of 1

OpenKM won't start

PostPosted:Tue Aug 11, 2015 6:18 am
by Riso
Hi

I installed OpenKM community edition with installer package and started openkm-launcher.exe which just don't seems to do anything. I didn't install anything other stuff since I understood that installation package include everything needed. With debugger I can see that process just returns almost immediadly return code 1. There are no logs appearing to tomcat/logs and there is no related stuff in windows event viewer.

OS: Windows 7.

How to troubleshoot this problem?

Re: OpenKM won't start

PostPosted:Wed Aug 12, 2015 9:37 am
by jllort
- Open a console
- go to your $TOMCAT_HMOE/bin
- execute the command: catalina.bat run

Have your openkm installation path some white space ( it could be a problem on it ).

Re: OpenKM won't start

PostPosted:Mon Aug 17, 2015 8:16 am
by Riso
Thanks from response. Problem was related to memory reservation:
Code: Select all
enkm-6.3.0-community\tomcat\bin\tomcat-juli.jar"
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Its still intresting since I have 8Gb memory and just ~3-4 used and system is of course x64. In any case when I changed -Xmx1256m to -Xmx512m OpenKM (from $tomcat/bin/setenv.bat) started succesfully.

Re: OpenKM won't start

PostPosted:Tue Aug 18, 2015 10:01 am
by jllort
Install JDK 1.7 x64 ( actual url is http://www.oracle.com/technetwork/es/ja ... 80260.html )
Then edit setenv.bat and change the JAVA_HOME with your newer ( the idea is not use the jdk what comes with installation, it's 32 bits and could be some problem with this in your OS ). Also increase the value of maxPermSize to 512mb
Tell us if that solved the problem ?