Unable To Change Policy and Credential Store From LDAP to Database

(Doc ID 2409712.1)

Last updated on JUNE 11, 2018

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:@yourdb.business.com:11522/yourdb.business.com", jdbcdriver="oracle.jdbc.OracleDriver",dbUser="YOUR_OPSS", dbPassword="YourDBPassword")
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 "/u01/app/oracle/middle/oracle_common/common/wlst/jpsWlstCmd.py", line 1343, in reassociateSecurityStore
File "/u01/app/oracle/middle/oracle_common/common/wlst/jpsWlstCmd.py", line 1272, in reassociateSecurityStoreImpl
File "/u01/app/oracle/middle/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

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms