My Oracle Support Banner

Unable to Reassociate the Policy and Credential Store from LDAP to Database Using reassociateSecurityStore wlst Command: "COMMAND FAILED due to an unknown reason" (Doc ID 2411979.1)

Last updated on OCTOBER 03, 2022

Applies to:

Oracle WebCenter Portal - Version 11.1.1.9.171222 and later
Information in this document applies to any platform.

Symptoms


When attempting to reassociate the Policy and Credential store from LDAP to Database using the reassociateSecurityStore wlst command, the following error occurs:

ERROR

wls:/webcenter/serverConfig> reassociateSecurityStore(domain="wc_domain", servertype="DB_ORACLE", datasourcename="jdbc/OPSS_DS", jpsroot="cn=jpsRoot_webcenter_wcp", jdbcurl="jdbc:oracle:thin:@<HOSTNAME>:<DB_PORT>/<DB_SERVICENAME>", jdbcdriver="oracle.jdbc.OracleDriver",dbUser="DEV_OPSS", dbPassword="<PASSWORD>")

Provider: MessageDigest.SHA algorithm from: SUN
Starting policy store reassociation.
Provider: MessageDigest.SHA algorithm from: SUN
COMMAND FAILED due to an unknown reason, Check the stack trace for details
Traceback (innermost last):
  File "<console>", line 1, in ?
  File "/a01/app/oraweb/middle/oracle_common/common/wlst/jpsWlstCmd.py", line 1343, in reassociateSecurityStore
  File "/a01/app/oraweb/middle/oracle_common/common/wlst/jpsWlstCmd.py", line 1272, in reassociateSecurityStoreImpl
  File "/a01/app/oraweb/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.GeneratedMethodAccessor31.invoke(Unknown Source)
         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



STEPS
-----------------------
The issue can be reproduced at will with the following steps:


1. Create the OPSS schema using RCU.

2. Attempt to reassociate the Policy and Credential Store from LDAP  to Database using reassociateSecurityStore command.


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
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.