在Mac OS X 10.10.2上启动ActiveMQ 5.11

时间:2015-02-09 21:20:00

标签: activemq

尝试启动activemq 5.11时出错。 也许这与这个问题有关:

https://issues.apache.org/jira/browse/AMQ-4299

dave@vishnu.local:~/Downloads/apache-activemq-5.11.0/data$ cat wrapper.log 
STATUS | wrapper  | 2015/02/09 11:29:01 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2015/02/09 11:29:01 | Launching a JVM...
INFO   | jvm 1    | 2015/02/09 11:29:02 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp
ERROR  | wrapper  | 2015/02/09 11:29:02 | JVM exited while loading the application.
STATUS | wrapper  | 2015/02/09 11:29:06 | Launching a JVM...
INFO   | jvm 2    | 2015/02/09 11:29:06 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp
ERROR  | wrapper  | 2015/02/09 11:29:07 | JVM exited while loading the application.
STATUS | wrapper  | 2015/02/09 11:29:11 | Launching a JVM...
INFO   | jvm 3    | 2015/02/09 11:29:11 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp
ERROR  | wrapper  | 2015/02/09 11:29:12 | JVM exited while loading the application.
STATUS | wrapper  | 2015/02/09 11:29:16 | Launching a JVM...
INFO   | jvm 4    | 2015/02/09 11:29:16 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp
ERROR  | wrapper  | 2015/02/09 11:29:17 | JVM exited while loading the application.
STATUS | wrapper  | 2015/02/09 11:29:21 | Launching a JVM...
INFO   | jvm 5    | 2015/02/09 11:29:21 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp
ERROR  | wrapper  | 2015/02/09 11:29:21 | JVM exited while loading the application.
FATAL  | wrapper  | 2015/02/09 11:29:21 | There were 5 failed launches in a row, each lasting less than 300 seconds.  Giving up.
FATAL  | wrapper  | 2015/02/09 11:29:21 |   There may be a configuration problem: please check the logs.
STATUS | wrapper  | 2015/02/09 11:29:21 | <-- Wrapper Stopped
STATUS | wrapper  | 2015/02/09 11:32:28 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2015/02/09 11:32:28 | Launching a JVM...
INFO   | jvm 1    | 2015/02/09 11:32:29 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp
ERROR  | wrapper  | 2015/02/09 11:32:29 | JVM exited while loading the application.
STATUS | wrapper  | 2015/02/09 11:32:34 | Launching a JVM...
INFO   | jvm 2    | 2015/02/09 11:32:34 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp
ERROR  | wrapper  | 2015/02/09 11:32:34 | JVM exited while loading the application.
STATUS | wrapper  | 2015/02/09 11:32:38 | Launching a JVM...
INFO   | jvm 3    | 2015/02/09 11:32:39 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp
ERROR  | wrapper  | 2015/02/09 11:32:39 | JVM exited while loading the application.
STATUS | wrapper  | 2015/02/09 11:32:43 | Launching a JVM...
INFO   | jvm 4    | 2015/02/09 11:32:43 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp
ERROR  | wrapper  | 2015/02/09 11:32:44 | JVM exited while loading the application.
STATUS | wrapper  | 2015/02/09 11:32:48 | Launching a JVM...
INFO   | jvm 5    | 2015/02/09 11:32:48 | Error: Could not find or load main class org.tanukisoftware.wrapper.WrapperSimpleApp
ERROR  | wrapper  | 2015/02/09 11:32:49 | JVM exited while loading the application.
FATAL  | wrapper  | 2015/02/09 11:32:49 | There were 5 failed launches in a row, each lasting less than 300 seconds.  Giving up.
FATAL  | wrapper  | 2015/02/09 11:32:49 |   There may be a configuration problem: please check the logs.
STATUS | wrapper  | 2015/02/09 11:32:49 | <-- Wrapper Stopped

2 个答案:

答案 0 :(得分:0)

根据建议,您的问题与您的日志的AMQ无关:

  

错误:无法找到或加载主类   org.tanukisoftware.wrapper.WrapperSimpleApp

答案 1 :(得分:0)

我通过将activeMQ bin目录添加到PATH环境变量来解决了这个问题。

C:\Tools\apache-activemq-5.14.2\bin