OPSS - reassociateSecurityStore fails with NPE

(Doc ID 2408957.1)

Last updated on JUNE 19, 2018

Applies to:

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

Symptoms

Reassociate from a LDAP Identity Store to Database Fails.

Error:

wls:/webcenter/serverConfig> reassociateSecurityStore(domain="webcenter",servertype="DB_ORACLE",datasourcename="jdbc/DEVWC_OPSS",jpsroot="cn=webcenter",jdbcurl="jdbc:oracle:thin:@diana.oracle.com:11522:webdev",dbUser="devwc_opss",dbPassword="XXXXXX",jdbcdriver="oracle.jdbc.xa.client.OracleXADataSource",force="true")
Already in Domain Runtime Tree

Start cleaning security store DIT.
Security store DIT has been cleaned.
Starting policy store reassociation.
COMMAND FAILED due to an unknown reason, Check the stack trace for details
Traceback (innermost last):
File "", 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:957)
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:955)
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.RuntimeMBeanExceptio

Changes

 WebCenter was upgraded.

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