WSO2 在 ESB 中添加 BAM 配置文件 [英] WSO2 Add BAM Profile in ESB

查看:13
本文介绍了WSO2 在 ESB 中添加 BAM 配置文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在尝试按照手册将 BAM 配置文件添加到 ESB 时遇到问题:

We're having troubles trying to add BAM Profiles to ESB following the manual:

http://docs.wso2.org/wiki/display/BAM201/Setting+up+BAM+Mediator#SettingupBAMMediator-ConfigureBAMServerProfilesandStreams

BAM 2.0.1(最新版本)

BAM 2.0.1 (latest version)

ESB 4.5.1(最新版本)

ESB 4.5.1 (latest version)

p2-repo 来自 http://dist.wso2.org/p2/carbon/releases/p2-repo.zip (15-01-2013)

p2-repo from http://dist.wso2.org/p2/carbon/releases/p2-repo.zip (15-01-2013)

如果您在单个主机中同时使用两个 WSO2 服务器,它会起作用,但如果 ESB 和 BAM 在不同的主机中运行,则不会.未发现通过端口 7611 传出或传入的日志或流量.

It works if you do it with both WSO2-servers in a single host, but it doesn't if ESB and BAM are running in separate hosts. No logs or traffic found outgoing or incoming through port 7611.

BAM thrift 端口 7611 已打开并在 BAM 主机中侦听,可从 ESB 端口访问.

The BAM thrift port 7611 is open and listening in BAM host, and is reachable from ESB port.

详情如下:

# uname -a
Linux ESBHOST 2.6.32-220.el6.x86_64 #1 SMP Wed Nov 9 08:03:13 EST 2011 x86_64 x86_64 x86_64 GNU/Linux

# java -version
java version "1.7.0_11"
Java(TM) SE Runtime Environment (build 1.7.0_11-b21)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)

# /opt/esb_default/bin/wso2server.sh version
WSO2 Enterprise Service Bus v4.5.1
WSO2 Carbon Framework v4.0.2

# nc -zv BAMHOST 7611
Connection to BAMHOST 7611 port [tcp/*] succeeded!

任何线索如何找到问题或从哪里开始解决它?提前致谢

Any clue how to find the problem or where to start to solve it? Thanks in advance

推荐答案

问题解决了:

即使您不想使用安全连接,端口 7711 也必须可以访问并且将被使用.此外,当 7611 监听 BAM 服务器的所有 IP 地址时,7711 仅监听配置的管理 IP.

Even if you don't want to use secure connection, the port 7711 MUST be reachable and WILL BE USED. Also while 7611 is listening in ALL the IP addresses of the BAM server, 7711 is only listening in the configured management IP.

由于这两个功能(尚未)记录在案,因此值得在这里为可能面临类似问题的其他人提及.感谢 WSO2 团队的支持.

Since this two features are not documented (yet), it's worthy to mention here for other people that could face a similar issue. Thanks to WSO2 team for the support.

这篇关于WSO2 在 ESB 中添加 BAM 配置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆