【发布时间】:2020-03-19 10:12:42
【问题描述】:
我已按照 [WSO2]https://is.docs.wso2.com/en/latest/setup/changing-to-postgresql 文档将默认数据库从 H2 更改为 PostgreSQL,并使用 db 脚本创建了表。
我能够运行 WSO2 身份服务器并能够使用管理控制台添加用户。
但我在 postgreSQL 的 um_user 表中看不到这些用户列表。即使我在 H2 数据库 中也找不到这些用户列表。
找到我的deployment.toml 文件。
[database.identity_db]
type="postgre"
url="jdbc:postgresql://localhost:5432/wso2_identity_db"
username="postgres"
password="postgres"
[database.identity_db.pool_options]
maxActive="80"
maxWait="60000"
minIdle="5"
testOnBorrow=true
validationQuery="SELECT 1;COMMIT"
validationInterval="30000"
defaultAutoCommit=true
[database.shared_db]
type="postgre"
url="jdbc:postgresql://localhost:5432/wso2_shared_db"
username="postgres"
password="postgres"
[database.shared_db.pool_options]
maxActive="80"
maxWait="60000"
minIdle="5"
testOnBorrow=true
validationQuery="SELECT 1;COMMIT"
validationInterval="30000"
defaultAutoCommit=true
我正在使用以下版本的 wso2 和 postgreSQL。
WSO2 version = 5.9.0
PostgreSQL Version = 12
有人可以帮我调试这个问题吗?
【问题讨论】:
标签: postgresql h2 wso2is