2014-05-22 66 views
0

我使用的是wso2esb4.8.1,wso2bam是2.4.0。
我想跟蹤wso2esb4.8.1的消息。我正在嘗試安裝ESB的消息跟蹤未來在我的wso2esb4.8.1中。然而,它不工作。
我已經測試過Echo服務字符串操作。
我跟着這個鏈接。 It has a good description but isn't working in the end爲WSO2 ESB設置消息跟蹤4.8.1使用BAM 2.4.0不工作

在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本地主機不工作 我已經給了RecieverURLtcp://localhost:9763在WSO2ESB 消息跟蹤配置
現在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} - '[email protected] [-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} - '[email protected] [-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} - '[email protected] [-1234]' logged in at [2014-05-22 11:24:04, 
273+0530] 

那麼錯誤是什麼?我按照文檔進行了跟蹤,但沒有得到期望的結果。

+0

如果我給這個URL tcp:// localhost:7613並測試它沒有連接,那麼我已經嘗試過這個tcp:// localhost:9763測試是好的,但給以上錯誤 – user3595078

+0

即使我已經用wso2esb4.8.0發現相同的錯誤日誌在這也 – user3595078

+0

即使我treid與wso2esb4.8.0相同錯誤得到 – user3595078

回答

0

ESB和BAM的端口偏移值是多少?請使用BAM服務器啓動日誌中顯示的thrift地址和端口。這裏的問題是ESB無法將事件發送到BAM。根據你的第一個日誌輸出消息跟蹤工程(檢查非常先INFO日誌)

+0

ESb偏移2 Bam偏移0 ..我認爲問題是與tcp: // localhost:****我應該給哪個端口號 – user3595078

+0

它的工作效率很高..現在數據代理程序再次出現錯誤 – user3595078