问题描述
按照手册,我们很难将BAM配置文件添加到ESB:
We're having troubles trying to add BAM Profiles to ESB following the manual:
BAM 2.0.1(最新版本)
BAM 2.0.1 (latest version)
ESB 4.5.1(最新版本)
ESB 4.5.1 (latest version)
p2-repo p2/carbon/releases/p2-repo.zip (2013年1月15日)
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节俭端口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配置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!