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 AUGUST 23, 2016

Applies to:

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

Symptoms

On OPSS 11.1.1.7.0 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:/Admin_Server/serverConfig> reassociateSecurityStore(domain="Admin_Server", admin="cn=orcladmin", password="xxxxx", ldapurl="ldap://host_name:389", 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 "/sw/ofm/oracle_common/common/wlst/jpsWlstCmd.py", line 1569, in reassociateSecurityStore
File "/sw/ofm/oracle_common/common/wlst/jpsWlstCmd.py", line 1501, in reassociateSecurityStoreImpl
File "/sw/ofm/oracle_common/common/wlst/jpsWlstCmd.py", line 1390, 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:993)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)

 

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