Hello All,
I followed the steps to install ServiceMix as a Windows Service:

features:install wrapper
wrapper:install

When I try to start ServiceMix from the Windows Service console, I get the
following error in wrapper.log:

Caused by: java.lang.ClassNotFoundException:
Files\Java\jdk1.6.0_25.jre.lib.endorsed;C:\Program
INFO   | jvm 5    | 2012/03/16 10:19:39 |       at
java.net.URLClassLoader$1.run(Unknown Source)
INFO   | jvm 5    | 2012/03/16 10:19:39 |       at
java.security.AccessController.doPrivileged(Native Method)
INFO   | jvm 5    | 2012/03/16 10:19:39 |       at
java.net.URLClassLoader.findClass(Unknown Source)
INFO   | jvm 5    | 2012/03/16 10:19:39 |       at
java.lang.ClassLoader.loadClass(Unknown Source)
INFO   | jvm 5    | 2012/03/16 10:19:39 |       at
sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
INFO   | jvm 5    | 2012/03/16 10:19:39 |       at
java.lang.ClassLoader.loadClass(Unknown Source)

It looks like it doesn't like spaces in JAVA_HOME.  I have installed to the
standard Windows folder and the directory name "Program Files" has a space
in it.

It looks similar to this bug:
https://issues.apache.org/jira/browse/SMX4KNL-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Does anyone know a workaround for this in 4.4.x?  I am assuming I need to
uninstall Java and re-install to a path with no spaces. 

Thanks,
Yogesh

 

--
View this message in context: 
http://servicemix.396122.n5.nabble.com/ServiceMix-4-4-Windows-Service-Installation-Issues-tp5571633p5571633.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to