• Jboss Service Will Not Start

  • 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.
 #11638  by dsteph801
 
Hello,

I've exhausted all of my options and always post on open source support forums as a last result so here I am. I've installed OpenKM successfully and it has been running without issue for the past month or so. I recently decided to configure jboss to run as a service per the jboss native environment. I setup the service to run by folliwng the instructions provided to me. I started up the service without incident the first time and all was well.

I then configured OpenOffice to run as a service as well....again no problems there. The service starts up and runs fine.

Now here's where the fun begins - I tried to restart the jboss service and it would start and then immediatly stop. I examined the run.log and this is what I found:
Code: Select all
Starting JBoss Application Server 5.0 [2011-07-23 17:56:17]
===============================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: F:\repository\jboss-4.2.3.GA

  JAVA: C:\Program Files\Java\jdk1.6.0_18\bin\java

  JAVA_OPTS: -Xrs -Djava.library.path="F:\repository\jboss-4.2.3.GA\bin\native;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Resource Kits\Tools\" -Dprogram.name=run.bat -Dfile.encoding=utf-8 -server -Xms256m -Xmx1024m -XX:PermSize=64m -XX:MaxPermSize=128m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

  CLASSPATH: C:\Program Files\Java\jdk1.6.0_18\lib\tools.jar;F:\repository\jboss-4.2.3.GA\bin\run.jar

===============================================================================

java.lang.NoClassDefFoundError: Files\Java\jdk1/6/0_18\lib\tools/jar;F:\repository\jboss-4/2/3/GA\bin\run/jar    org/jboss/Main 
Caused by: java.lang.ClassNotFoundException: Files\Java\jdk1.6.0_18\lib\tools.jar;F:\repository\jboss-4.2.3.GA\bin\run.jar    org.jboss.Main 
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: Files\Java\jdk1.6.0_18\lib\tools.jar;F:\repository\jboss-4.2.3.GA\bin\run.jar    org.jboss.Main .  Program will exit.
Exception in thread "main" Shutdown JBoss Application Server 5.0 service [2011-07-23 17:56:17]
For some reason it isn't recognizing the C:\Program Files\ path....it appears to be cutting off the C:\Program portion when setting the JAVA_HOME variable. I am completely stumped. I've tried enclosing the C:\Program Files\Java\jdk1.6.0_18\bin\java path in double quotes and also single quotes but neither one works. I'm sure this is something really stupid, but the solution continues to evade me.

Any help would be greatly appreciated. We really like OpenKM so far, but it is unusable for us given the current problem. We are considering purchasing the premium version due to the necessity of us having a DWG preview option, but we really need this issue fixed in order to move forward with our testing.

Again thanks in advance for any assistance on this matter

- Dustin

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.