在Karaf中安装ActiveMQ



我正在尝试在Karaf中安装ActiveMQ。我确实看到了一个关于错误的答案,我确实跟进了这个问题的答案。我尝试添加"最新"版本的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 requirement [activemq-web-  console/5.12.0.SNAPSHOT] osgi.identity;  osgi.identity=org.apache.activemq.activemq-web-console; type=osgi.bundle; version="[5.12.0.SNAPSHOT,5.12.0.SNAPSHOT]"; resolution:=mandatory [caused by:  Unable to resolve org.apache.activemq.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运行良好。我通过添加Camel并运行一个示例应用程序来确保这一点。应用程序运行良好,日志在"bin/data"文件夹中生成良好。任何指针都会有所帮助。我还没有使用卡拉夫的经验,所以如果你知道卡拉夫的任何论坛或邮件列表,我将不胜感激。

最新activemq似乎不时出现问题。

我尝试了Karaf 4.0.6,但出现了activemq/LATEST->相同的错误。

关于Karaf 4.0.6 activemq 5.14.0作品:

feature:repo-add activemq 5.14.0
feature:install activemq

最新更新