【发布时间】:2015-05-14 13:48:41
【问题描述】:
我使用的是 wso2esb4.8.1,而 wso2bam 是 2.4.0。
我希望跟踪 wso2esb4.8.1 的消息。我正在尝试在我的 wso2esb4.8.1 中安装 ESB 的消息跟踪 Future。但是它不起作用。
我已经使用 Echo 服务字符串操作进行了测试。
我跟着这个链接。 It has a good description but isn't working in the end.
在wso2esb中,error错误日志为:
[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 is not working
我在 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]
那么错误是什么?我按照文档按照原样进行了操作,但没有得到想要的结果。
【问题讨论】:
-
如果我给这个 url tcp://localhost:7613 并测试它没有连接,那么我已经尝试过这个 tcp://localhost:9763 测试是可以的,但是给出了上述错误
-
即使我尝试过使用 wso2esb4.8.0 也发现了同样的错误日志
-
即使我遇到了 wso2esb4.8.0 相同的错误获取