Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-4299

ActiveMQ doesn't start using the service wrapper

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • 5.7.0
    • 5.8.0
    • Broker
    • None

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jbonofre Jean-Baptiste Onofré
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: