Description
ActiveMQ doesn't start when you use the service wrapper.
For instance, you go in:
apache-activemq-5.7.0/bin/linux-x86-64
and run ActiveMQ with:
./activemq start
if you take a look in the data/wrapper.log, you will see:
STATUS | wrapper | 2013/02/06 17:42:00 | Launching a JVM...
INFO | jvm 3 | 2013/02/06 17:42:00 | Exception in thread "main" java.lang.NoClassDefFoundError: org/tanukisoftware/wrapper/WrapperSimpleApp
INFO | jvm 3 | 2013/02/06 17:42:00 | Caused by: java.lang.ClassNotFoundException: org.tanukisoftware.wrapper.WrapperSimpleApp
INFO | jvm 3 | 2013/02/06 17:42:00 | at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
INFO | jvm 3 | 2013/02/06 17:42:00 | at java.security.AccessController.doPrivileged(Native Method)
INFO | jvm 3 | 2013/02/06 17:42:00 | at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
INFO | jvm 3 | 2013/02/06 17:42:00 | at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
INFO | jvm 3 | 2013/02/06 17:42:00 | at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
INFO | jvm 3 | 2013/02/06 17:42:00 | at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
ERROR | wrapper | 2013/02/06 17:42:00 | JVM exited while loading the application.
INFO | jvm 3 | 2013/02/06 17:42:00 | Could not find the main class: org.tanukisoftware.wrapper.WrapperSimpleApp. Program will exit.
So ActiveMQ doesn't start at all.