Page 1 of 1
Unable to launch OpenKM 6.3
PostPosted:Fri Jun 20, 2014 2:52 pm
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.
Re: Unable to launch OpenKM 6.3
PostPosted:Sun Jun 22, 2014 10:21 am
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
Re: Unable to launch OpenKM 6.3
PostPosted:Wed Jul 02, 2014 12:47 pm
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 allC:\>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
Re: Unable to launch OpenKM 6.3
PostPosted:Wed Jul 02, 2014 12:49 pm
by McWyrsch
SOmething more:
Installed on C:
using the wizard
Re: Unable to launch OpenKM 6.3
PostPosted:Thu Jul 03, 2014 2:34 pm
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)
Re: Unable to launch OpenKM 6.3
PostPosted:Mon Jul 14, 2014 7:51 am
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 allC:\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?
Re: Unable to launch OpenKM 6.3
PostPosted:Mon Jul 14, 2014 3:24 pm
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 allC:\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
Re: Unable to launch OpenKM 6.3
PostPosted:Thu Jul 17, 2014 9:23 am
by jllort
try to execute from terminal
Re: Unable to launch OpenKM 6.3
PostPosted:Fri Jul 18, 2014 2:33 pm
by JimM804
Thanks for the suggestion; it provided more information:
Code: Select allC:\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
Re: Unable to launch OpenKM 6.3
PostPosted:Sat Jul 19, 2014 9:11 am
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
Re: Unable to launch OpenKM 6.3
PostPosted:Sat Jul 19, 2014 5:56 pm
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 allrem 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.
Re: Unable to launch OpenKM 6.3
PostPosted:Mon Jul 21, 2014 6:50 am
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 -Xmx
512m
Re: Unable to launch OpenKM 6.3
PostPosted:Wed Aug 06, 2014 1:35 am
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!!
Re: Unable to launch OpenKM 6.3
PostPosted:Fri Aug 08, 2014 8:03 am
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
Re: Unable to launch OpenKM 6.3
PostPosted:Thu Nov 13, 2014 12:18 pm
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