配置WSO2 API管理器以使用WSO2 BAM服务器 [英] Configuring WSO2 API Manager to use the WSO2 BAM Server

查看:199
本文介绍了配置WSO2 API管理器以使用WSO2 BAM服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用WSO2 API Manager 1.3和WSO2 BAM 2.0.

Using WSO2 API Manager 1.3 and WSO2 BAM 2.0.

我按照/statistics中README.txt中的说明进行操作.

I followed the instructions found in the README.txt in /statistics.

启动API Manager时出现以下错误:

I am getting the following error when starting API Manager:

TID:[0] [AM] [2013-05-02 11:42:44,239]错误 {org.wso2.carbon.apimgt.usage.publisher.APIMgtUsageDataBridgeDataPublisher} -初始化APIMgtUsageDataBridgeDataPublisher {org.wso2.carbon.apimgt.usage.publisher.APIMgtUsageDataBridgeDataPublisher}时出错 org.wso2.carbon.databridge.agent.thrift.exception.AgentException: 查找以下事件的流定义时出错: org.wso2.apimgt.statistics.request 1.0.0

TID: [0] [AM] [2013-05-02 11:42:44,239] ERROR {org.wso2.carbon.apimgt.usage.publisher.APIMgtUsageDataBridgeDataPublisher} - Error initializing APIMgtUsageDataBridgeDataPublisher {org.wso2.carbon.apimgt.usage.publisher.APIMgtUsageDataBridgeDataPublisher} org.wso2.carbon.databridge.agent.thrift.exception.AgentException: Error when finding event stream definition for : org.wso2.apimgt.statistics.request 1.0.0

关于从哪里开始寻找问题的任何建议?

Any suggestions on where to start looking for the issue?

推荐答案

似乎您没有正确配置WSO2 API Manager 1.3与WSO2 BAM一起使用. 为了进行正确的配置,请遵循官方文档[1]

It looks like you have not properly configured WSO2 API Manager 1.3 to work with WSO2 BAM. For proper configuration follow the official docs[1]

当您按README.txt中的说明将BAM的偏移量设置为1时,也可能会出现此问题,因为它需要将其Cassandra DB配置更改为BAM_HOME/repository/conf/etc/cassandra的偏移量为1 -component.xml.因此,请按照提供的[1]之类的方法更改API Manager的偏移量.

This issue might also occur When you set an offset to BAM by 1 as described in the README.txt, as it needs its Cassandra DB configurations to be changed for the offset by 1 at BAM_HOME/repository/conf/etc/cassandra-component.xml. Therefore follow the like provided[1] where we change the API Manager's offset.

Suho

[1] http://docs.wso2.org/wiki/display/AM130/Monitoring + and + Statistics

这篇关于配置WSO2 API管理器以使用WSO2 BAM服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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