My Oracle Support Banner

OPSS - ReassociateSecurityStore Fails With COMMAND FAILED Due To An Unknown Reason trying to Reassociate Security Store to new LDAP (Doc ID 2170145.1)

Last updated on MARCH 01, 2023

Applies to:

Oracle Platform Security for Java - Version and later
Information in this document applies to any platform.


On OPSS version, Java Platform Security

There was already an OID associated with their domain, as Policy Store, working fine for some time.
The goal is change the current OID environment, and perform the reassociation to the new OID.
When they try to use the reassociateSecurityStore command fails with COMMAND FAILED due to an unknown reason.

wls:/<adminserver>/serverConfig> reassociateSecurityStore(domain="<DOMAIN_NAME>", admin="cn=<USERNAME>", password="<PASSWORD>", ldapurl="ldap://<LDAP_HOST>:<LDAP_PORT>", servertype="OID", jpsroot="cn=<JPSROOT>", join="true")
Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.
For more help, use help(domainRuntime)

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/", line 1569, in reassociateSecurityStore
File "/<MW_HOME>/oracle_common/common/wlst/", line 1501, in reassociateSecurityStoreImpl
File "/<MW_HOME>/oracle_common/common/wlst/", line 1390, in reassociateService
 at weblogic.rjvm.ResponseImpl.unmarshalReturn(
 at weblogic.rmi.internal.BasicRemoteRef.invoke(
 at Source)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
 at java.lang.reflect.Method.invoke(



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.