配置 WSO2 AS 和 BAM - 新错误 [英] Configuring WSO2 AS and BAM -new error

查看:20
本文介绍了配置 WSO2 AS 和 BAM - 新错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我按照 WSO2 文档中提到的相同步骤配置 BAM 服务器和 WSO2 AS.两者都在不同的计算机中.仍然无法解决错误.现在,当我单击 BAM EVENT_KS 时出现新错误.我的 BAM 服务器偏移地址默认为 0.我在 carbon.xml 中将 WSO2 AS 偏移量更改为 2.

I followed the same steps as mentioned in the WSO2 documentation for configuring BAM server and WSO2 AS. Both are in different computers. Still not able to solve the errors. Now I am getting new error when I click BAM EVENT_KS. My BAM server offset address is 0 by default. I changed my WSO2 AS offset to 2 in carbon.xml.

ERROR {org.wso2.carbon.databridge.agent.thrift.AsyncDataPublisher} - 连接到事件接收器时出错org.wso2.carbon.databridge.agent.thrift.exception.AgentException:无法为 TCP 借用客户端,203.252.180.178:9443,TCP,203.252.180.178:9543在 org.wso2.carbon.databridge.agent.thrift.internal.publisher.authenticator.AgentAuthenticator.connect(AgentAuthenticator.java:58)

ERROR {org.wso2.carbon.databridge.agent.thrift.AsyncDataPublisher} - Error while connection to event receiver org.wso2.carbon.databridge.agent.thrift.exception.AgentException: Cannot borrow client for TCP,203.252.180.178:9443,TCP,203.252.180.178:9543 at org.wso2.carbon.databridge.agent.thrift.internal.publisher.authenticator.AgentAuthenticator.connect(AgentAuthenticator.java:58)

还有更多.....

请帮助解决 BAM 的配置问题.我尝试了所有最新的 3 版本.

Please help what will be the configuration problem with BAM. I tried all the latest 3 version.

推荐答案

阅读 [1] 了解配置详情.如我所见,您使用了端口 9443 和 9543 而不是正确的 Thrift 服务器端口 7611 或 7711.在 BAM 中未应用端口偏移时,将 7611 用于不安全端口,将 7711 用于安全端口.

Read [1] for configuration details. As I can see you have used ports 9443 and 9543 instead of 7611 or 7711 which are the correct Thrift server ports. Use 7611 for unsecured port and 7711 for the secured port when no port offset is applied in BAM.

[1] http://docs.wso2.org/wiki/display/AS501/Collecting+Data+Statistics+of+Services

这篇关于配置 WSO2 AS 和 BAM - 新错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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