Hi Dean, Windows is known to be tricky to get classpaths right when jars are in a path with a space in it. Perhaps this is going on here. Did you by any chance install to a directory path that has a space in it?
Regards, Hiram dean.ward wrote > > Hi all, > I've followed the instructions at > http://activemq.apache.org/apollo/documentation/user-manual.html#On_Windows > to install a broker as a Windows Service. Unfortunately I it fails to > start the service with the following error in > apollo-broker-service.err.log: > > Exception in thread "main" java.lang.ClassNotFoundException: > org.apache.activemq.apollo.cli.Apollo > at java.net.URLClassLoader$1.run(Unknown Source) > 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 java.lang.ClassLoader.loadClass(Unknown Source) > at org.apache.activemq.apollo.boot.Apollo.main(Apollo.java:92) > > If I run the broker from the command line (from > apollo-broker-service.wrapper.log) it runs just fine. Any ideas? > > Cheers, > Dean > -- View this message in context: http://activemq.2283324.n4.nabble.com/Apollo-as-Windows-Service-tp4655390p4655422.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.