【发布时间】:2016-08-01 01:20:15
【问题描述】:
我在 Ubuntu 10.4 上使用(尝试使用)activemq 5,Apache.org 上的文档与实际安装的内容之间存在很大的不匹配。
我通过sudo apt-get install activemq安装了它
根据 Apache 文档,安装的 bin 目录中应该有一个名为“activemq”的文件。但是,在我的文件夹/usr/share/activemq/bin 中只有一个文件:run.jar,它是一个符号链接。没有文件activemq。
所以,我什至无法根据文档 (http://activemq.apache.org/version-5-getting-started.html#Version5GettingStarted-InstallationProcedureforUnix) 启动它。
如果我尝试使用命令 activemq console 启动代理,我会收到错误 mkdir: missing operand 后跟一个以
-jar "/usr/share/activemq/bin/run.jar" 开始:未找到
这很奇怪,因为那个确切的符号链接在我的机器上。
如果我运行sudo activemq console,我会收到类似的错误,然后是运行时异常,
“执行启动任务失败。原因等等等等 FileNotFoundException: 类路径资源 [activemq.xml] 无法打开,因为它确实如此 不存在。 (StartCommand.java:98)"
我怎样才能解决这个问题并启动activemq?
【问题讨论】: