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 JANUARY 14, 2021

Applies to:

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


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


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/", line 1343, in reassociateSecurityStore
  File "/a01/app/oraweb/middle/oracle_common/common/wlst/", line 1272, in reassociateSecurityStoreImpl
  File "/a01/app/oraweb/middle/oracle_common/common/wlst/", line 1096, in reassociateService
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(
         at weblogic.rmi.internal.BasicRemoteRef.invoke(
         at Source)
         at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(
         at java.lang.reflect.Method.invoke(

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.


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

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