Unable To Change Policy and Credential Store From LDAP to Database
(Doc ID 2409712.1)
Last updated on JUNE 17, 2024
Applies to:
Oracle WebCenter Portal - Version 11.1.1.9.0 to 11.1.1.9.171222 [Release 11g]Information in this document applies to any platform.
Symptoms
Attempting to migrate the Credential and Policy Stores from an external LDAP provider to a Database repository. The following error occurs:
wls:/webcenter/serverConfig> reassociateSecurityStore(domain="webcenter", servertype="DB_ORACLE", datasourcename="jdbc/YOUR_OPSS", jpsroot="cn=your_webcenter_root", jdbcurl="jdbc:oracle:thin:@<DB_HOSTNAME>:<DB_TNS_PORT>/<DATABASE_SERVICE_NAME>", jdbcdriver="oracle.jdbc.OracleDriver",dbUser="<ALIAS_OPSS>", dbPassword="<PASSWORD>")
Already in Domain Runtime Tree
Starting policy store reassociation.
COMMAND FAILED due to an unknown reason, Check the stack trace for details
Traceback (innermost last):
File "<console>", line 1, in ?
File "<MW_HOME>/oracle_common/common/wlst/jpsWlstCmd.py", line 1343, in reassociateSecurityStore
File "<MW_HOME>/oracle_common/common/wlst/jpsWlstCmd.py", line 1272, in reassociateSecurityStoreImpl
File "<MW_HOME>/oracle_common/common/wlst/jpsWlstCmd.py", line 1096, in reassociateService
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
at javax.management.remote.rmi.RMIConnectionImpl_1036_WLStub.invoke(Unknown Source)
at weblogic.management.remote.common.RMIConnectionWrapper$16.run(ClientProviderBase.java:918)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.security.Security.runAs(Security.java:61)
at weblogic.management.remote.common.RMIConnectionWrapper.invoke(ClientProviderBase.java:916)
at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:1021)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
javax.management.RuntimeMBeanException: javax.management.RuntimeMBeanException: javax.management.RuntimeMBeanException
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |