我集成了wso2 am 1.10.0(port offest 1)和wso2 das 3.0.1(port offest 3),一切似乎都沒問題,我可以從wso2am_stats_db或das carbon data explorer中看到使用數據。我按照說明here來說這個詞。然而,每次我訪問APIM發佈商統計數據頁面的任何,我只看到了股市的圖像(示例:配置DAS看到你的),則該APIM日誌吐出以下錯誤:WSO2 AM 1.10.0:「除非使用IS NULL或LIKE運算符,否則不能比較或排序文本,ntext和圖像數據類型。」
TID: [-1234] [] [2016-09-15 03:11:21,634] ERROR {JAGGERY.modules.statistics.usage:jag} -
org.wso2.carbon.apimgt.usage.client.exception.APIMgtUsageQueryServiceClientException: Error occurred while querying from JDBC databaseThe text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator. {JAGGERY.modules.statistics.usage:jag}
我使用MSSQL數據庫如果這有所作爲。腳本/模式接近於here。該錯誤對我來說沒有意義,因爲在模式中沒有定義文本,ntext或圖像類型。請參閱此討論:The text, ntext, and image data > types cannot be compared or sorted, except when using IS NULL or LIKE > operator。
該吐出錯誤的java類的源代碼:https://github.com/wso2/carbon-apimgt/blob/api-product/components/apimgt/org.wso2.carbon.apimgt.usage /org.wso2.carbon.apimgt.usage.client/src/main/java/org/wso2/carbon/apimgt/usage/client/exception/APIMgtUsageQueryServiceClientException.java,可從以下網址引發:https://github.com /wso2/carbon-apimgt/blob/33381d3b99d71c403e41cc1b1bbc874d754df186/components/apimgt/org.wso2.carbon.apimgt.usage/org.wso2.carbon.apimgt.usage.client/src/main/java/org/wso2/carbon/apimgt /usage/client/impl/APIUsageStatisticsRdbmsClientImpl.java –