ActiveMQ启动失败

kungfupan 发布于 2018/03/07 10:10
阅读 476
收藏 0

windows本地启动ActiveMQ,最后应该是没有启动成功,访问 http://127.0.0.1:8161/admin/打不开,netstat也没有看到有监听该端口或者61616端口

ActiveMQ版本是5.15.3,jdk版本是1.8.0,下面是我的启动日志

STATUS | wrapper  | 2018/03/07 09:54:45 | --> Wrapper Started as Console
STATUS | wrapper  | 2018/03/07 09:54:45 | Launching a JVM...
INFO   | jvm 1    | 2018/03/07 09:54:46 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
INFO   | jvm 1    | 2018/03/07 09:54:46 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
INFO   | jvm 1    | 2018/03/07 09:54:46 | 
INFO   | jvm 1    | 2018/03/07 09:54:46 | Java Runtime: Oracle Corporation 1.8.0_101 E:\jdk1.8.0_101\jre
INFO   | jvm 1    | 2018/03/07 09:54:46 |   Heap sizes: current=123904k  free=114064k  max=932352k
INFO   | jvm 1    | 2018/03/07 09:54:46 |     JVM args: -Dactivemq.home=../.. -Dactivemq.base=../.. -Djavax.net.ssl.keyStorePassword=password -Djavax.net.ssl.trustStorePassword=password -Djavax.net.ssl.keyStore=../../conf/broker.ks -Djavax.net.ssl.trustStore=../../conf/broker.ts -Dcom.sun.management.jmxremote -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Djava.util.logging.config.file=logging.properties -Dactivemq.conf=../../conf -Dactivemq.data=../../data -Djava.security.auth.login.config=../../conf/login.config -Xmx1024m -Djava.library.path=../../bin/win64 -Dwrapper.key=JnF5rFqDJ3r4LLDG -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=2404 -Dwrapper.version=3.2.3 -Dwrapper.native_library=wrapper -Dwrapper.cpu.timeout=10 -Dwrapper.jvmid=1
INFO   | jvm 1    | 2018/03/07 09:54:46 | Extensions classpath:
INFO   | jvm 1    | 2018/03/07 09:54:46 |   [..\..\lib,..\..\lib\camel,..\..\lib\optional,..\..\lib\web,..\..\lib\extra]
INFO   | jvm 1    | 2018/03/07 09:54:46 | ACTIVEMQ_HOME: ..\..
INFO   | jvm 1    | 2018/03/07 09:54:46 | ACTIVEMQ_BASE: ..\..
INFO   | jvm 1    | 2018/03/07 09:54:46 | ACTIVEMQ_CONF: ..\..\conf
INFO   | jvm 1    | 2018/03/07 09:54:46 | ACTIVEMQ_DATA: ..\..\data
INFO   | jvm 1    | 2018/03/07 09:54:46 | Loading message broker from: xbean:activemq.xml
INFO   | jvm 1    | 2018/03/07 09:54:46 |  INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@27a19515: startup date [Wed Mar 07 09:54:46 CST 2018]; root of context hierarchy
INFO   | jvm 1    | 2018/03/07 09:54:47 |  INFO | Using Persistence Adapter: KahaDBPersistenceAdapter[E:\apache-activemq-5.15.3\bin\win64\..\..\data\kahadb]
INFO   | jvm 1    | 2018/03/07 09:54:47 |  WARN | Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class path resource [activemq.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.apache.log4j.spi.LoggingEvent.setProperty(Ljava/lang/String;Ljava/lang/String;)V
INFO   | jvm 1    | 2018/03/07 09:54:47 | Failed to execute main task. Reason: java.lang.NoSuchMethodError: org.apache.log4j.spi.LoggingEvent.setProperty(Ljava/lang/String;Ljava/lang/String;)V
STATUS | wrapper  | 2018/03/07 09:54:50 | <-- Wrapper Stopped
 

 

我ICS服务是关闭且禁用的,看日志应该也不是jdk版本不匹配的原因,有没有好心人知道的解答一下

加载中
返回顶部
顶部