activemq无法启动问题

姜小白- 2017-05-22 09:20:51
下载的activemq 包,解压后直接点击activemq.bat文件启动,窗口一闪而过。
通过cmd 窗口启动,打印如下日志,没有发现异常信息,大神们帮忙看看问题出在哪里

D:\DEV_ENV\apache-activemq-5.14.5-bin\apache-activemq-5.14.5\bin>activemq.bat
Java Runtime: Oracle Corporation 1.7.0_60 D:\DEV_ENV\Java7\jdk1.7.0_60\jre
Heap sizes: current=1005568k free=989808k max=1005568k
JVM args: -Dcom.sun.management.jmxremote -Xms1G -Xmx1G -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=D:\DEV_ENV\apach
e-activemq-5.14.5-bin\apache-activemq-5.14.5\bin\..\conf\login.config -Dactivemq.classpath=D:\DEV_ENV\apache-activemq-5.14.5-bin\apache-activemq-5.14.5\bin\..\c
onf;D:\DEV_ENV\apache-activemq-5.14.5-bin\apache-activemq-5.14.5\bin\../conf;D:\DEV_ENV\apache-activemq-5.14.5-bin\apache-activemq-5.14.5\bin\../conf; -Dactivem
q.home=D:\DEV_ENV\apache-activemq-5.14.5-bin\apache-activemq-5.14.5\bin\.. -Dactivemq.base=D:\DEV_ENV\apache-activemq-5.14.5-bin\apache-activemq-5.14.5\bin\.. -
Dactivemq.conf=D:\DEV_ENV\apache-activemq-5.14.5-bin\apache-activemq-5.14.5\bin\..\conf -Dactivemq.data=D:\DEV_ENV\apache-activemq-5.14.5-bin\apache-activemq-5.
14.5\bin\..\data -Djava.io.tmpdir=D:\DEV_ENV\apache-activemq-5.14.5-bin\apache-activemq-5.14.5\bin\..\data\tmp
Extensions classpath:
[D:\DEV_ENV\apache-activemq-5.14.5-bin\apache-activemq-5.14.5\bin\..\lib,D:\DEV_ENV\apache-activemq-5.14.5-bin\apache-activemq-5.14.5\bin\..\lib\camel,D:\DEV_
ENV\apache-activemq-5.14.5-bin\apache-activemq-5.14.5\bin\..\lib\optional,D:\DEV_ENV\apache-activemq-5.14.5-bin\apache-activemq-5.14.5\bin\..\lib\web,D:\DEV_ENV
\apache-activemq-5.14.5-bin\apache-activemq-5.14.5\bin\..\lib\extra]
ACTIVEMQ_HOME: D:\DEV_ENV\apache-activemq-5.14.5-bin\apache-activemq-5.14.5\bin\..
ACTIVEMQ_BASE: D:\DEV_ENV\apache-activemq-5.14.5-bin\apache-activemq-5.14.5\bin\..
ACTIVEMQ_CONF: D:\DEV_ENV\apache-activemq-5.14.5-bin\apache-activemq-5.14.5\bin\..\conf
ACTIVEMQ_DATA: D:\DEV_ENV\apache-activemq-5.14.5-bin\apache-activemq-5.14.5\bin\..\data
Usage: Main [--extdir <dir>] [task] [task-options] [task data]

Tasks:
browse - Display selected messages in a specified destination.
bstat - Performs a predefined query that displays useful statistics regarding the specified broker
consumer - Receives messages from the broker
create - Creates a runnable broker instance in the specified path.
decrypt - Decrypts given text
dstat - Performs a predefined query that displays useful tabular statistics regarding the specified destination type
encrypt - Encrypts given text
export - Exports a stopped brokers data files to an archive file
list - Lists all available brokers in the specified JMX context
producer - Sends messages to the broker
purge - Delete selected destination's messages that matches the message selector
query - Display selected broker component's attributes and statistics.
start - Creates and starts a broker using a configuration file, or a broker URI.
stop - Stops a running broker specified by the broker name.

Task Options (Options specific to each task):
--extdir <dir> - Add the jar files in the directory to the classpath.
--version - Display the version information.
-h,-?,--help - Display this help information. To display task specific help, use Main [task] -h,-?,--help

Task Data:
- Information needed by each specific task.

JMX system property options:
-Dactivemq.jmx.url=<jmx service uri> (default is: 'service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi')
-Dactivemq.jmx.user=<user name>
-Dactivemq.jmx.password=<password>


D:\DEV_ENV\apache-activemq-5.14.5-bin\apache-activemq-5.14.5\bin>


小菜初学,大神们不吝赐教
...全文
804 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
yellow_fish 2019-07-08
  • 打赏
  • 举报
回复
JDK 版本有要求的吧,activemq5.14至少要jdk1.7了吧
姜小白- 2017-05-23
  • 打赏
  • 举报
回复
引用 1 楼 qq_30831935 的回复:
windows系统 在bin文件夹下打开 命令行 输入 activemq-admin.bat start
好,晚上回去试一下。 这个是什么原因呢?我在公司电脑,直接在D盘根目录下解压出来的activemq 包,双击activemq.bat 就可以直接启动起来
鱿鱼ing 2017-05-23
  • 打赏
  • 举报
回复
windows系统 在bin文件夹下打开 命令行 输入 activemq-admin.bat start

50,530

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧