繁体   English   中英

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

[英]WSO2 API Manager service API call failure while loading throttling policy

当前,我们正在尝试通过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数据库作为注册表,并使用mysql数据库作为用户和api管理器数据库。

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

谢谢;

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM