【问题标题】:Install ActiveMq in Apache Karaf 4.0.0.M2在 Apache Karaf 4.0.0.M2 中安装 ActiveMq
【发布时间】:2015-05-29 00:09:41
【问题描述】:

我正在尝试在 Karaf 4.0.0M2 中安装 ActiveMQ。

但它总是失败并出现错误。请参阅下面的控制台。请帮我解决这个问题。

karaf@root()> feature:install jms
karaf@root()> feature:repo-add activemq
Adding feature url mvn:org.apache.activemq/activemq-karaf/LATEST/xml/features
karaf@root()> feature:install activemq-broker
Error executing command: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=activemq-web-console
; type=karaf.feature; version=5.12.0.SNAPSHOT [caused by: Unable to resolve activemq-web-console/5.12.0.SNAPSHOT: missing req
uirement [activemq-web-console/5.12.0.SNAPSHOT] osgi.identity; osgi.identity=org.apache.activemq.activemq-web-console; type=o
sgi.bundle; version="[5.12.0.SNAPSHOT,5.12.0.SNAPSHOT]"; resolution:=mandatory [caused by: Unable to resolve org.apache.activ
emq.activemq-web-console/5.12.0.SNAPSHOT: missing requirement [org.apache.activemq.activemq-web-console/5.12.0.SNAPSHOT] osgi
.wiring.package; filter:="(&(osgi.wiring.package=javax.servlet.resources)(version>=2.5.0)(!(version>=4.0.0)))"]]
karaf@root()>

【问题讨论】:

    标签: osgi activemq apache-karaf


    【解决方案1】:

    安装无网络功能。 - 我认为它被称为 -noweb 或 no webconsole 或类似的东西

    feature:install activemq-broker-noweb
    

    ActiveMQ Web 控制台不支持 karaf 4。

    如果你想要一个用于 ActiveMQ 的 Web 控制台以及 hawtio 可以做的其他 Java 东西,你可以尝试安装 hawtio

    【讨论】:

    • 对我不起作用:karaf@root()> 功能:安装 activemq-broker-noweb 执行命令时出错:无法解析 root:缺少要求 [root] osgi.identity; osgi.identity=activemq-broker-noweb;...
    • 如前所述,ActiveMQ 还不支持 Karaf 4。此外,Karaf 4 还不是 GA,但它是一个里程碑版本。使用旧版本的 Karaf,例如 3 或 2.4。
    • 同意,克劳斯,对不起,我不是更清楚,只是想说不幸的是,activemq-broker-noweb 也不适用于 4.0.0M2(因为它被建议为一种可能性)。我现在正在用 3.0.3 亲自测试。感谢您多年来的持续和巨大帮助!
    猜你喜欢
    • 2015-05-29
    • 1970-01-01
    • 2015-08-20
    • 2015-08-21
    • 1970-01-01
    • 2017-01-19
    • 1970-01-01
    • 2016-06-26
    • 2014-11-01
    相关资源
    最近更新 更多