WSO2 实例配置

WSO2 Instances Configuration

我正在尝试使用 wso2am-2.0.0 配置我的 Worker-Manager API 实例。我没有创建数据库,也没有进行相关配置。然而,虽然 运行 我的 bin/wsoserver.sh 抛出数据库异常错误。

org.h2.jdbc.JdbcSQLException: Database may be already in use: "Locked by another process". Possible solutions: close all other connection(s); use the server mode; SQL statement:

[2016-12-05 23:30:49,842] ERROR - Activator Cannot start User Manager Core bundle org.wso2.carbon.user.core.UserStoreException: Cannot initialize the realm.

Caused by: org.wso2.carbon.user.core.UserStoreException: Database Error - Database may be already in use: "Locked by another process". Possible solutions: close all other connection(s); use the server mode; SQL statement:

Caused by: org.h2.jdbc.JdbcSQLException: Database may be already in use: "Locked by another process". Possible solutions: close all other connection(s); use the server mode; SQL statement:

APIM 内部使用嵌入式 H2 数据库。看起来像其他人正在使用数据库。它可能是同一服务器的另一个实例。搜索这样的进程并杀死它。它应该可以解决您的问题。