【问题标题】:WSO2 API Manager service API call failure while loading throttling policy加载限制策略时 WSO2 API Manager 服务 API 调用失败
【发布时间】:2014-11-17 16:27:24
【问题描述】:

目前我们正在尝试通过 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 管理器数据库。

【问题讨论】:

    标签: web-services wso2 axis2 wso2-am


    【解决方案1】:

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

    谢谢;

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

    【讨论】:

    • 我看到我们不使用 Jira 中描述的密钥管理器/网关分离设置的信息。所以本地设置也面临这样的问题。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多