我正在尝试集成 BAM Server(2.2.0) 和 API Management(1.3.1) 出现错误:
[2013-05-13 14:59:41,747] 错误 - APIProviderHostObject 在为 ProviderAPIUsage org.wso2.carbon.apimgt.usage.client.exception.APIMgtUsageQueryServiceClientException 调用 APIUsageStatisticsClient 时出错:从 org.wso2.carbon 的 JDBC 数据库查询时出错.apimgt.usage.client.APIUsageStatisticsClient.queryDatabase(APIUsageStatisticsClient.java:715) at org.wso2.carbon.apimgt.usage.client.APIUsageStatisticsClient.getAPIFaultyAnalyzeByTime(APIUsageStatisticsClient.java:447) at org.wso2.carbon.apimgt.hostobjects .APIProviderHostObject.jsFunction_getAPIFaultyAnalyzeByTime(APIProviderHostObject.java:2141) 在 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 在 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 在 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java :25)
引起:org.h2.jdbc.JdbcSQLException:找不到表“API_RESOURCE_PATH_USAGE_SUMMARY”;SQL 语句:
选择 * 从 API_Resource_Path_USAGE_SUMMARY [42102-140]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
at org.h2.message.DbException.get(DbException.java:167)
at org.h2.message.DbException.get(DbException.java:144)
at org.h2.command.Parser.readTableOrView(Parser.java:4498)
at org.h2.command.Parser.readTableFilter(Parser.java:1011)
at org.h2.command.Parser.parseSelectSimpleFromPart(Parser.java:1577)
at org.h2.command.Parser.parseSelectSimple(Parser.java:1682)
at org.h2.command.Parser.parseSelectSub(Parser.java:1571)
at org.h2.command.Parser.parseSelectUnion(Parser.java:1416)
at org.h2.command.Parser.parseSelect(Parser.java:1404)
at org.h2.command.Parser.parsePrepared(Parser.java:392)
at org.h2.command.Parser.parse(Parser.java:275)
at org.h2.command.Parser.parse(Parser.java:247)
at org.h2.command.Parser.prepare(Parser.java:201)
at org.h2.command.Parser.prepareCommand(Parser.java:214)
at org.h2.engine.Session.prepareLocal(Session.java:434)
at org.h2.engine.Session.prepareCommand(Session.java:384)
at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1071)
at org.h2.jdbc.JdbcStatement.executeQuery(JdbcStatement.java:70)
at
org.wso2.carbon.apimgt.usage.client.APIUsageStatisticsClient.queryDatabase(APIUsageStatisticsClient.java:697) ... 52 更多