Wso2:添加了Oracle DB连接,但在启动Wso2服务时出现以下错误

juzqafwq  于 2023-03-29  发布在  Oracle
关注(0)|答案(1)|浏览(185)

我已经在deployment.toml文件中添加了下面的

[database.shared_db]
type = "oracle"
url = "jdbc:oracle:thin:@x.x.x.x:1521/share"
username = "wso2sh"
password = "wso2shar"
driver = "oracle.jdbc.driver.OracleDriver"
validationQuery = "SELECT 1 FROM DUAL"
[database.apim_db]
type = "oracle"
url = "jdbc:oracle:thin:@x.x.x.x:1521/apim"
username = "wso2ap"
password = "wso2apim"
driver = "oracle.jdbc.driver.OracleDriver"
validationQuery = "SELECT 1 FROM DUAL"*

但出现以下错误:

TID: [-1234] [] [2023-03-27 19:00:24,895] ERROR {org.wso2.carbon.user.core.common.DefaultRealm} - nullType class java.lang.reflect.InvocationTargetException org.wso2.carbon.user.core.UserStoreException: nullType class java.lang.reflect.InvocationTargetException Caused by: org.wso2.carbon.user.core.UserStoreException: DB error occurred while persisting domain : PRIMARY & tenant id : -1234 Caused by: java.sql.SQLException: ORA-00257: Archiver error. Connect AS SYSDBA only until resolved.

我无法理解到底是哪里的错误,请帮助解决如何解决这个问题或调试它.

unguejic

unguejic1#

这看起来像是Oracle的问题。但是当您更改user_store管理器配置时,会看到错误org.wso2.carbon.user.core.UserStoreException: nullType class。因此,请尝试将以下内容添加到deployment.toml

[user_store]
type = 'database_unique_id'

相关问题