• starting problem java exeption

  • 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.
 #21238  by nioc
 
Hi Folks,

i have just installed OpenKM 6.2.2, and installation ran through without any errors. But when i try to start OpenKM with
Code: Select all
 catalina.bat run
, i get the following error message:
Using CATALINA_BASE: "C:\Program Files\openkm-6.2.2-community\tomcat"
Using CATALINA_HOME: "C:\Program Files\openkm-6.2.2-community\tomcat"
Using CATALINA_TMPDIR: "C:\Program Files\openkm-6.2.2-community\tomcat\temp"
Using JRE_HOME: "C:\Program Files\Java\jre6"
Using CLASSPATH: "C:\Program Files\openkm-6.2.2-community\tomcat\bin\boots
trap.jar;C:\Program Files\openkm-6.2.2-community\tomcat\bin\tomcat-juli.jar"
Exception in thread "main" java.lang.NoClassDefFoundError: Files\openkm-6/2/2-community\tomcat/conf/log4j/properties
Caused by: java.lang.ClassNotFoundException: Files\openkm-6.2.2-community\tomcat.conf.log4j.properties
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: Files\openkm-6.2.2-community\tomcat/conf/log4j.properties. Program will exit.
I'm not realy firm with java, so the only thing i had tried already is to chage java directory to my local installation, as you can see in the JRE_HOME variable. So, does anyone know, what else can be wrong?

Thank you in advance,
Robert
 #21247  by jllort
 
AS is explained in installation steps, if you're on windows should not install on a path with white spaces C:\Program Files\openkm-6.2.2-community in this case "Program Files". I will not make a tedious explanation why ... simply uninstall and install again under c:\ for example and all will be fine.

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.