首先,对不起我的英语不好。
在解决这个问题上,我需要您的帮助!
我正在使用wso2.1AM,我在活动目录中有一个用户,该用户忽略了应用程序的创建。
我也在活动目录上创建了另一个用户,但是该用户看不到应用程序,为什么?
我访问/ carbon 主页>身份>用户和角色>列表>用户 应用程序/ userActicte_Directory / Web_SANDBOX
但错误:
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.wso2.carbon.user.core.UserStoreException: Error occurred while updating hybrid role list of user : DOMINIO/user_activeDirectory
at org.wso2.carbon.user.core.hybrid.HybridRoleManager.updateHybridRoleListOfUser(HybridRoleManager.java:500)
at org.wso2.carbon.user.core.common.AbstractUserStoreManager.updateRoleListOfUserInternal(AbstractUserStoreManager.java:1877)
at org.wso2.carbon.user.core.common.AbstractUserStoreManager.access$300(AbstractUserStoreManager.java:75)
at org.wso2.carbon.user.core.common.AbstractUserStoreManager$6.run(AbstractUserStoreManager.java:1764)
at org.wso2.carbon.user.core.common.AbstractUserStoreManager$6.run(AbstractUserStoreManager.java:1761)
at java.security.AccessController.doPrivileged(Native Method)
at org.wso2.carbon.user.core.common.AbstractUserStoreManager.updateRoleListOfUser(AbstractUserStoreManager.java:1761)
at org.wso2.carbon.user.core.common.AbstractUserStoreManager.updateRoleListOfUserInternal(AbstractUserStoreManager.java:1800)
at org.wso2.carbon.user.core.common.AbstractUserStoreManager.access$300(AbstractUserStoreManager.java:75)
at org.wso2.carbon.user.core.common.AbstractUserStoreManager$6.run(AbstractUserStoreManager.java:1764)
at org.wso2.carbon.user.core.common.AbstractUserStoreManager$6.run(AbstractUserStoreManager.java:1761)
at java.security.AccessController.doPrivileged(Native Method)
at org.wso2.carbon.user.core.common.AbstractUserStoreManager.updateRoleListOfUser(AbstractUserStoreManager.java:1761)
at org.wso2.carbon.user.mgt.UserRealmProxy.updateRolesOfUser(UserRealmProxy.java:1935)
... 76 more
Caused by: org.wso2.carbon.user.core.UserStoreException: Using sql : INSERT INTO UM_HYBRID_USER_ROLE (UM_ROLE_ID, UM_USER_NAME, UM_TENANT_ID, UM_DOMAIN_ID) VALUES ((SELECT UM_ID FROM UM_HYBRID_ROLE WHERE UM_ROLE_NAME=? AND UM_TENANT_ID=?), ?, ?,(SELECT UM_DOMAIN_ID FROM UM_DOMAIN WHERE UM_TENANT_ID=? AND UM_DOMAIN_NAME=?)) ORA-01400: não é possível inserir NULL em ("ADMWS02_USER"."UM_HYBRID_USER_ROLE"."UM_ROLE_ID")
at org.wso2.carbon.user.core.util.DatabaseUtil.udpateUserRoleMappingInBatchMode(DatabaseUtil.java:518)
at org.wso2.carbon.user.core.hybrid.HybridRoleManager.updateHybridRoleListOfUser(HybridRoleManager.java:490)
... 89 more
Caused by: java.sql.BatchUpdateException: ORA-01400: não é possível inserir NULL em ("ADMWS02_USER"."UM_HYBRID_USER_ROLE"."UM_ROLE_ID")
at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:10500)
at oracle.jdbc.driver.OracleStatementWrapper.executeBatch(OracleStatementWrapper.java:230)
at org.wso2.carbon.user.core.util.DatabaseUtil.udpateUserRoleMappingInBatchMode(DatabaseUtil.java:505)
... 90 more