尝试将Stratos Message Broker安装为WSO2 ESB 4.9中的功能时出错

时间:2016-07-12 16:59:39

标签: wso2 wso2esb wso2carbon wso2mb

WSO2 Message Broker v3.1文档建议可以将Message Broker用作ESB功能,称为“Stratos Message Broker - Dashboard UI Features”:from here

我正在尝试在最新的WSO2 ESB版本(v4.9)上安装MB作为功能,就像它来了一样。

要做到这一点,我正在使用最新的P2存储库: from here

选择“Stratos Message Broker - Dashboard UI Features”v 3.1后,我收到以下错误消息:

Cannot complete the install because of a conflicting dependency.

Software being installed: 
 WSO2 Stratos Message Broker - Dashboard UI Features 3.1.0 (org.wso2.stratos.mb.dashboard.ui.feature.group 3.1.0) 
Software currently installed: 
 WSO2 Carbon - Carbon UI Feature 4.4.1 (org.wso2.carbon.core.ui.feature.group 4.4.1) 

Only one of the following can be installed at once: 
 WSO2 Carbon - Carbon UI Feature 4.4.1 (org.wso2.carbon.core.ui.feature.jar 4.4.1) 
 WSO2 Carbon - Carbon UI Feature 4.4.2 (org.wso2.carbon.core.ui.feature.jar 4.4.2) 
 WSO2 Carbon - Carbon UI Feature 4.4.3 (org.wso2.carbon.core.ui.feature.jar 4.4.3) 
 WSO2 Carbon - Carbon UI Feature 4.4.4 (org.wso2.carbon.core.ui.feature.jar 4.4.4) 

Cannot satisfy dependency: 
 From: WSO2 Carbon - Carbon UI Feature 4.4.1 (org.wso2.carbon.core.ui.feature.group 4.4.1) 
 To: org.wso2.carbon.core.ui.feature.jar [4.4.1] 

Cannot satisfy dependency: 
 From: WSO2 Carbon - Carbon UI Feature 4.4.3 (org.wso2.carbon.core.ui.feature.group 4.4.3) 
 To: org.wso2.carbon.core.ui.feature.jar [4.4.3] 

Cannot satisfy dependency: 
 From: WSO2 Carbon - Carbon UI Feature 4.4.4 (org.wso2.carbon.core.ui.feature.group 4.4.4) 
 To: org.wso2.carbon.core.ui.feature.jar [4.4.4] 

Cannot satisfy dependency: 
 From: WSO2 Stratos Message Broker - Dashboard UI Features 3.1.0 (org.wso2.stratos.mb.dashboard.ui.feature.group 3.1.0) 
 To: org.wso2.carbon.core.ui.feature.group [4.4.3,4.5.0)

这是否意味着无法使用最新版本的MB作为ESB功能?我尝试了其他人,没有成功..

回购:WSO2 Carbon 4.2.0(图灵) - MB版本:2.2.0 - 错误信息:

Cannot complete the install because of a conflicting dependency. 
Software being installed: 
 WSO2 Stratos Message Broker - Dashboard UI Features 2.2.0 (org.wso2.stratos.mb.dashboard.ui.feature.group 2.2.0) 

Software currently installed:
 WSO2 Carbon - Carbon UI Feature 4.4.1 (org.wso2.carbon.core.ui.feature.group 4.4.1) 

Only one of the following can be installed at once: 
 WSO2 Carbon - Carbon UI Feature 4.2.0 (org.wso2.carbon.core.ui.feature.jar 4.2.0) 
 WSO2 Carbon - Carbon UI Feature 4.4.1 (org.wso2.carbon.core.ui.feature.jar 4.4.1) 

Cannot satisfy dependency: 
 From: WSO2 Carbon - Carbon UI Feature 4.2.0 (org.wso2.carbon.core.ui.feature.group 4.2.0) 
 To: org.wso2.carbon.core.ui.feature.jar [4.2.0] 
Cannot satisfy dependency: 
 From: WSO2 Carbon - Carbon UI Feature 4.4.1 (org.wso2.carbon.core.ui.feature.group 4.4.1) 
 To: org.wso2.carbon.core.ui.feature.jar [4.4.1] 
Cannot satisfy dependency: 
 From: WSO2 Stratos Message Broker - Dashboard UI Features 2.2.0 (org.wso2.stratos.mb.dashboard.ui.feature.group 2.2.0) 
 To: org.wso2.carbon.core.ui.feature.group [4.2.0,4.3.0)

回购:WSO2 Carbon 4.1.7 - MB版本:2.1.1 - 错误消息:

Cannot complete the install because one or more required items could not be found. 
Software being installed: 
 WSO2 Stratos Message Broker - Dashboard UI Features 2.1.1 (org.wso2.stratos.mb.dashboard.ui.feature.group 2.1.1) 

Missing requirement: 
 WSO2 Stratos Message Broker - Dashboard UI Features 2.1.1 (org.wso2.stratos.mb.dashboard.ui.feature.group 2.1.1) 
 requires 'org.wso2.carbon.core.ui.feature.group [4.1.0,4.2.0)' but it could not be found

有什么建议吗? 是否有人已将MB用作ESB功能?哪个版本?

谢谢!

2 个答案:

答案 0 :(得分:0)

我也试过并得到了同样的错误。它看起来像WSO2 ESB 4.9.0中的一个错误。因此报道了一个jira:https://wso2.org/jira/browse/ESBJAVA-4753

答案 1 :(得分:-1)

使用新版 WSO2 ESB 5.0 成功安装。

使用wilkes repo并选择“Stratos Message Broker - Dashboard UI Features 3.1.0版”。

实际上为了让它工作我做了:在我的旧MB中搜索,在那里寻找那些不存在的功能(仅限MB 3.1)(ESB 5.0)。这就是清单:

  • 功能 - 安第斯山脉
  • 功能 - 消息传递指标
  • Metrics Group
  • 注册表内容搜索
  • 远程用户管理
  • 远程用户管理客户端
  • 远程用户管理服务器
  • SOAP Tracer
  • Stratos Message Broker - 仪表板UI功能

然后我必须编辑master-datasources.xml文件,添加WSO2MBStoreDB数据源配置。

然后,只需安装上面列表中的功能。