我已经在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.
我无法理解到底是哪里的错误,请帮助解决如何解决这个问题或调试它.
1条答案
按热度按时间unguejic1#
这看起来像是Oracle的问题。但是当您更改user_store管理器配置时,会看到错误
org.wso2.carbon.user.core.UserStoreException: nullType class
。因此,请尝试将以下内容添加到deployment.toml
。