加载限制策略时WSO2 API Manager服务API调用失败

时间:2013-01-08 11:06:14

标签: web-services wso2 axis2 wso2-am

目前,我们正在尝试通过WSO2 API管理器公开我们的Axis2 Web服务。但是在某些情况下,服务不会返回结果并查看WSO2 API管理器上的日志,我们会看到以下内容

ERROR {org.wso2.carbon.apimgt.gateway.handlers.throttling.APIThrottleHandler} -  Unable         to load throttling policy using key: gov:/apimgt/applicationdata/tiers.xml   {org.wso2.carbon.apimgt.gateway.handlers.throttling.APIThrottleHandler} TID: [0] [AM] [2013-01-07 16:42:22,951]  
INFO {org.apache.synapse.mediators.builtin.LogMediator} -  To: /TestService/1.0.0, WSAction: urn:testOperation, SOAPAction: urn:testOperation, MessageID: urn:uuid:a8f94f58-5e2d-4d51-afc7-83182b51d173, Direction: request, STATUS = Executing default 'fault' sequence, ERROR_CODE = 0, ERROR_MESSAGE = Unable to load throttling policy using key: gov:/apimgt/applicationdata/tiers.xml, Envelope: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><p:testOperation xmlns:p="http://example.com"><param>d1</param></p:testOperation></soapenv:Body></soapenv:Envelope> {org.apache.synapse.mediators.builtin.LogMediator}

对于配置,我使用默认的h2数据库作为用户和api管理器数据库的注册表和mysql数据库。

1 个答案:

答案 0 :(得分:0)

此问题是已知问题[1],将在下一个AM版本中修复。当我们尝试同时或在短时间内调用两个不同的API时,我们在一个实例中也遇到了这个问题。

感谢;

[1] https://wso2.org/jira/browse/APIMANAGER-835