You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by edswing <ed...@sas.com> on 2012/11/01 18:25:01 UTC
Trouble starting ActiveMQ as service on Windows: Broker.ks
I am trying to start ActiveMQ as a service on a Windows box (I'm trying the
win64 version). However, it fails to start, and I see the following message
in the wrapper.log:
STATUS | wrapper | 2012/11/01 13:04:03 | Launching a JVM...
INFO | jvm 1 | 2012/11/01 13:04:03 | java.lang.NoClassDefFoundError:
Files\ActiveMQ\bin\win64\//\///conf/broker/ks
INFO | jvm 1 | 2012/11/01 13:04:03 | Caused by:
java.lang.ClassNotFoundException:
Files\ActiveMQ\bin\win64\..\...conf.broker.ks
INFO | jvm 1 | 2012/11/01 13:04:03 | at
java.net.URLClassLoader$1.run(URLClassLoader.java:202)
INFO | jvm 1 | 2012/11/01 13:04:03 | at
java.security.AccessController.doPrivileged(Native Method)
INFO | jvm 1 | 2012/11/01 13:04:03 | at
java.net.URLClassLoader.findClass(URLClassLoader.java:190)
INFO | jvm 1 | 2012/11/01 13:04:03 | at
java.lang.ClassLoader.loadClass(ClassLoader.java:306)
INFO | jvm 1 | 2012/11/01 13:04:03 | at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
INFO | jvm 1 | 2012/11/01 13:04:03 | at
java.lang.ClassLoader.loadClass(ClassLoader.java:247)
INFO | jvm 1 | 2012/11/01 13:04:03 | Could not find the main class:
Files\ActiveMQ\bin\win64\..\../conf/broker.ks. Program will exit.
INFO | jvm 1 | 2012/11/01 13:04:03 | Exception in thread "main"
ERROR | wrapper | 2012/11/01 13:04:03 | JVM exited while loading the
application.
I haven't changed the relevant lines in the wrapper.conf file:
wrapper.java.additional.6=-Djavax.net.ssl.trustStore=%ACTIVEMQ_CONF%/broker.ts
ActiveMQ is installed in C:\Program Files
--
View this message in context: http://activemq.2283324.n4.nabble.com/Trouble-starting-ActiveMQ-as-service-on-Windows-Broker-ks-tp4658602.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Trouble starting ActiveMQ as service on Windows: Broker.ks
Posted by edswing <ed...@sas.com>.
I already have the broker.ks file in the directory.
My assumption is that its caused by the spaces in the directory name. This
is probably something that should be fixed.
I will move (uninstall/reinstall) the directory and see if that fixes the
problem
--
View this message in context: http://activemq.2283324.n4.nabble.com/Trouble-starting-ActiveMQ-as-service-on-Windows-Broker-ks-tp4658602p4658651.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Trouble starting ActiveMQ as service on Windows: Broker.ks
Posted by Claus Ibsen <cl...@gmail.com>.
Hi
See this
http://activemq.2283324.n4.nabble.com/Can-t-Start-ActiveMQ-Service-on-Win7-64-bits-tp4658550.html;cid=1351842246073-8
Also its not a good idea to install in a directory with spaces.
On Thu, Nov 1, 2012 at 6:25 PM, edswing <ed...@sas.com> wrote:
> I am trying to start ActiveMQ as a service on a Windows box (I'm trying the
> win64 version). However, it fails to start, and I see the following message
> in the wrapper.log:
>
> STATUS | wrapper | 2012/11/01 13:04:03 | Launching a JVM...
> INFO | jvm 1 | 2012/11/01 13:04:03 | java.lang.NoClassDefFoundError:
> Files\ActiveMQ\bin\win64\//\///conf/broker/ks
> INFO | jvm 1 | 2012/11/01 13:04:03 | Caused by:
> java.lang.ClassNotFoundException:
> Files\ActiveMQ\bin\win64\..\...conf.broker.ks
> INFO | jvm 1 | 2012/11/01 13:04:03 | at
> java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> INFO | jvm 1 | 2012/11/01 13:04:03 | at
> java.security.AccessController.doPrivileged(Native Method)
> INFO | jvm 1 | 2012/11/01 13:04:03 | at
> java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> INFO | jvm 1 | 2012/11/01 13:04:03 | at
> java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> INFO | jvm 1 | 2012/11/01 13:04:03 | at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> INFO | jvm 1 | 2012/11/01 13:04:03 | at
> java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> INFO | jvm 1 | 2012/11/01 13:04:03 | Could not find the main class:
> Files\ActiveMQ\bin\win64\..\../conf/broker.ks. Program will exit.
> INFO | jvm 1 | 2012/11/01 13:04:03 | Exception in thread "main"
> ERROR | wrapper | 2012/11/01 13:04:03 | JVM exited while loading the
> application.
>
> I haven't changed the relevant lines in the wrapper.conf file:
>
> wrapper.java.additional.6=-Djavax.net.ssl.trustStore=%ACTIVEMQ_CONF%/broker.ts
>
> ActiveMQ is installed in C:\Program Files
>
>
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Trouble-starting-ActiveMQ-as-service-on-Windows-Broker-ks-tp4658602.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
--
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen