• Unable to launch OpenKM 6.3

  • 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.
 #28999  by CBale
 
I have followed the quick install guide to install the community version of OpenKM 6.3 for Windows .

But when I run the Start OpenKM icon at startup screen pops up and then goes off, however nothing happens after this.

I have followed the Quick install guide on the site and installed JDK v1.6 and also followed a You Tube video for the install but still getting the same problem. Did also try a re-install of both Java and OpenKM but this didn't work either.

Does anyone have any suggestions? I am not getting any error messages or anything appear in the event logs for it.
 #29008  by jllort
 
Ensure you install openkm in c:
OpenKM 6.3 need JDK 1.7 not 1.6
In tomcat/log/catalina.log can find stack trace log, there can see if there's some error
 #29138  by McWyrsch
 
Hi

I have the same issue.

1. CATALINA_HOME has to be set to C:\openkm...\tomcat
2. startup.bat started in a dos windows opens another window and stops - no server was started?

http://localhost:8080/OpenKM does not start

IN the dos window:
Code: Select all
C:\>openkm-6.3.0-community\tomcat\bin\startup.bat
Using CATALINA_BASE:   "C:\openkm-6.3.0-community\tomcat"
Using CATALINA_HOME:   "C:\openkm-6.3.0-community\tomcat"
Using CATALINA_TMPDIR: "C:\openkm-6.3.0-community\tomcat\temp"
Using JRE_HOME:        "C:\openkm-6.3.0-community\java"
Using CLASSPATH:       "C:\openkm-6.3.0-community\tomcat\bin\bootstrap.jar;C:\op
enkm-6.3.0-community\tomcat\bin\tomcat-juli.jar"
C:\>

Can you fix this ? Community edition

Kind regards
Michael
 #29145  by pavila
 
This script start Tomcat (and OpenKM). Tomcat is an application server and OpenKM is a web-based application you won't see any window. After that you can try to access using a browser at http://localhost:8080/OpenKM . If you don't see anything attach the $TOMCAT_HOME/logs/catalina.log file (please, zip it)
 #29284  by Miesto
 
I also run the Start OpenKM icon at startup screen pops up and then goes off, however nothing happens after this,

My wrong information is:
Code: Select all
C:\OpenKm\tomcat\bin>startup
Using CATALINA_BASE:   "C:\OpenKm\tomcat"
Using CATALINA_HOME:   "C:\OpenKm\tomcat"
Using CATALINA_TMPDIR: "C:\OpenKm\tomcat\temp"
Using JRE_HOME:        "C:\OpenKm\java"
Using CLASSPATH:       "C:\OpenKm\tomcat\bin\bootstrap.jar;C:\OpenKm\tomcat\bin\
tomcat-juli.jar"
C:\OpenKm\tomcat\bin>
And there have not any files in logs folder
How could I upgrade to version 6.4?
 #29289  by JimM804
 
I'm also having the same issue where nothing seems to be starting, whether I use the Start OpenKM icon or the console to run startup.bat, I get the same quick popup and following console response:
Code: Select all
C:\openkm630\tomcat\bin>startup.bat
Using CATALINA_BASE:   "C:\openkm630\tomcat"
Using CATALINA_HOME:   "C:\openkm630\tomcat"
Using CATALINA_TMPDIR: "C:\openkm630\tomcat\temp"
Using JRE_HOME:        "C:\openkm630\java"
Using CLASSPATH:       "C:\openkm630\tomcat\bin\bootstrap.jar;C:\openkm630\tomca
t\bin\tomcat-juli.jar"
C:\openkm630\tomcat\bin>
The tomcat\logs folder is empty.

I'm running Windows 7 Pro 64-bit. I stopped Microsoft IIS prior to running the OpenKM Windows installer and confirmed that the Web Publishing service is stopped, in case that would interfere. Java SE Development Kit 7 Update 55 (64-bit) 1.7.0.550 is installed and the OpenKM Windows Installer completes without error. I am assuming that the OpenKM Windows installer would made the necessary environment variable changes for Tomcat and Java. Is that a proper assumption or do I need to manually made these changes? If so, where?

Thanks for any and all suggestions.

Jim
 #29343  by JimM804
 
Thanks for the suggestion; it provided more information:
Code: Select all
C:\openkm630\tomcat\bin>catalina.bat run
Using CATALINA_BASE:   "C:\openkm630\tomcat"
Using CATALINA_HOME:   "C:\openkm630\tomcat"
Using CATALINA_TMPDIR: "C:\openkm630\tomcat\temp"
Using JRE_HOME:        "C:\openkm630\java"
Using CLASSPATH:       "C:\openkm630\tomcat\bin\bootstrap.jar;C:\openkm630\tomca
t\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.

C:\openkm630\tomcat\bin>
So does this VM error relate to a configuration parameter that needs to be changed? I'll search the forum for the error but any guidance would also be greatly appreciated!

Thanks,
Jim
 #29349  by jllort
 
You got 32 o 64 bits hardware ? Seems application is not able to reserve enought memory how much do you got, and how much free.
Put here the contents of /bin/setenv.bat
 #29351  by polaroq
 
I had exactly the same problem, running Windows 8.1 64Bits. Here is how I solved it:

First, installed Java JDK 64 bits in the system (jdk-7u65-windows-x64), then edited the following files:

-- openkm/tomcat/OpenKM.cfg, and changed the comments from Linux to Windows
-- openkm/tomcat/bin/setenv.bat and changed JAVA_HOME to point to the 64 bits version of Java:
Code: Select all
rem set JAVA_HOME=D:\openkm\java (This was the original, put a REM before)
set JAVA_HOME=C:\Program Files\Java\jdk1.7.0_65
After that launched openKM through the console with 'Catalina.bat run', which started everything OK and stoped again using the deskop shortcut created during instalation. Started again this time using the desktop shortcut to start.

I think that openkm\java only works with 32 bits OS's.

You may try. Good luck.
 #29359  by cjpitmd
 
JimM804 wrote:Thanks for the suggestion; it provided more information:

C:\openkm630\tomcat\bin>catalina.bat run
Using CATALINA_BASE: "C:\openkm630\tomcat"
Using CATALINA_HOME: "C:\openkm630\tomcat"
Using CATALINA_TMPDIR: "C:\openkm630\tomcat\temp"
Using JRE_HOME: "C:\openkm630\Java"
Using CLASSPATH: "C:\openkm630\tomcat\bin\bootstrap.jar;C:\openkm630\tomca
t\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.

C:\openkm630\tomcat\bin>

So does this VM error relate to a configuration parameter that needs to be changed? I'll search the forum for the error but any guidance would also be greatly appreciated!

Thanks,
Jim

Try edit setenv.bat in C:\openkm630\tomcat\bin

edit the file : set JAVA_OPTS=%JAVA_OPTS% -Xms256m -Xmx512m
 #29509  by lhchen
 
polaroq wrote:

I had exactly the same problem, running Windows 8.1 64Bits. Here is how I solved it:

First, installed Java JDK 64 bits in the system (jdk-7u65-windows-x64), then edited the following files:

-- openkm/tomcat/OpenKM.cfg, and changed the comments from Linux to Windows
-- openkm/tomcat/bin/setenv.bat and changed JAVA_HOME to point to the 64 bits version of Java:


rem set JAVA_HOME=D:\openkm\Java (This was the original, put a REM before)
set JAVA_HOME=C:\Program Files\Java\jdk1.7.0_65

After that launched openKM through the console with 'Catalina.bat run', which started everything OK and stoped again using the deskop shortcut created during instalation. Started again this time using the desktop shortcut to start.

I think that openkm\Java only works with 32 bits OS's......
I followed this suggestion, and it solved my problem. Thanks a lot!!
 #29545  by jllort
 
For what you told us we should prepare other installer for windows one with java 32 bits ( what we got now ) and other with java 64 bits
 #30522  by ociugi
 
If you are using 64bit OS use 64bit JAVA as well then put your java to location address path without space.
Set your JRE_HOME to your java address path

example:
your installation path------> C:\Java\jdk1.8.0_25

Open your command prompt then set your JRE_HOME path
set JRE_HOME=C:\Java\jdk1.8.0_25

run your tomcat
c:\openKM\tomcat\bin\catalina.bat start

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.