我使用的是wso2esb4.8.1,wso2bam是2.4.0 我想跟踪wso2esb4.8.1的消息。我正在尝试在我的wso2esb4.8.1中为ESB Future安装消息跟踪。然而它无法正常工作 我已经使用Echo服务String Operation进行了测试 我按照这个链接。 It has a good description but isn't working in the end
在wso2esb中,错误错误日志为:
[2014-05-22 11:22:10,762] INFO - HandlerUtils Massage Info: Transaction id=5684
82352184655268848 Message direction=IN Server name=10.50.56.69:9765 Timestamp
=1400737930683 Service name=echo Operation Name=echoString
[2014-05-22 11:22:10,765] INFO - HandlerUtils Massage Info: Transaction id=5684
82352184655268848 Message direction=OUT Server name=10.50.56.69:9765 Timestam
p=1400737930765 Service name=echo Operation Name=echoString
[2014-05-22 11:22:11,791] ERROR - AsyncDataPublisher Error while connection to e
vent receiver
org.wso2.carbon.databridge.agent.thrift.exception.AgentException: Cannot borrow
client for TCP,localhost:9763,TCP,localhost:9863
at org.wso2.carbon.databridge.agent.thrift.internal.publisher.authentica
tor.AgentAuthenticator.connect(AgentAuthenticator.java:58)
at org.wso2.carbon.databridge.agent.thrift.DataPublisher.start(DataPubli
sher.java:273)
at org.wso2.carbon.databridge.agent.thrift.DataPublisher.<init>(DataPubl
并且WSO2BAM也抛出错误tcp localhost无法正常工作
我在WSO2ESB 邮件跟踪配置中将 RecieverURL 设为tcp://localhost:9763
现在WSO2BAM中的错误是这样的:
[2014-05-22 10:40:58,957] INFO {org.wso2.carbon.dashboard.common.oauth.GSOAuthM
odule} - Using random key for OAuth client-side state encryption
[2014-05-22 10:40:59,518] INFO {org.wso2.carbon.ui.internal.CarbonUIServiceComp
onent} - Mgt Console URL : https://10.50.56.69:9443/carbon/
[2014-05-22 10:40:59,519] INFO {org.wso2.carbon.ui.internal.CarbonUIServiceComp
onent} - Gadget Server Default Context : http://10.50.56.69:9763/portal
[2014-05-22 10:43:41,276] INFO {org.wso2.carbon.core.services.util.CarbonAuthen
ticationUtil} - 'admin@carbon.super [-1234]' logged in at [2014-05-22 10:43:41,
275+0530]
[2014-05-22 10:45:26,945] ERROR {me.prettyprint.cassandra.service.CassandraHost}
- Unable to resolve host tcp://localhost
[2014-05-22 10:45:26,949] ERROR {me.prettyprint.cassandra.connection.HConnection
Manager} - Could not start connection pool for host tcp://localhost(tcp://local
host):9160
[2014-05-22 10:46:15,491] ERROR {me.prettyprint.cassandra.connection.HConnection
Manager} - Could not start connection pool for host localhost(127.0.0.1):9161
[2014-05-22 11:22:58,840] INFO {org.wso2.carbon.core.services.util.CarbonAuthen
ticationUtil} - 'admin@carbon.super [-1234]' logged in at [2014-05-22 11:22:58,
839+0530]
[2014-05-22 11:23:14,098] ERROR {me.prettyprint.cassandra.connection.HConnection
Manager} - Could not start connection pool for host localhost(127.0.0.1):9161
[2014-05-22 11:24:04,274] INFO {org.wso2.carbon.core.services.util.CarbonAuthen
ticationUtil} - 'admin@carbon.super [-1234]' logged in at [2014-05-22 11:24:04,
273+0530]
那么错误是什么?我按照文档的说法进行了跟踪,但没有得到理想的结果。
答案 0 :(得分:0)
ESB和BAM的端口偏移值是多少?请使用BAM服务器启动日志中显示的thrift地址和端口。这里的问题是ESB无法向BAM发送事件。基于您的第一个日志输出消息跟踪工作(检查第一个INFO日志)