EM 12c: Migrating the Enterprise Manager 12c Cloud Control Repository Fails with Message: Error occurred. Check the log secure.log (Doc ID 2095444.1)

Last updated on JULY 08, 2017

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.1.0 and later
Information in this document applies to any platform.

Symptoms

The database rman utility was used for cold backup and restoration if the original Enterprise Manager (EM) 12c Cloud Control repository database
The restored database is operating and accessible through the listener.

Configuring the OMS as follows generates the error:

 emctl config oms -store_repos_details -repos_conndesc "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxx)(PORT=1526)))(LOAD_BALANCE=ON)(CONNECT_DATA=(SERVICE_NAME=xx)))" -repos_user SYSMAN -repos_pwd XXXXXX
Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
Error occurred. Check the log .../middleware/gc_inst12105/em/EMGC_OMS1/sysman/log/secure.log

This is the error record form the secure.log:

2016-01-06 11:52:09,786 [main] INFO  util.EmctlUtil logp.251 - Connecting over t3s to: host.com/7101 using id: weblogic
2016-01-06 11:53:18,315 [main] INFO  util.EmctlUtil logp.251 - Unable to get mbean conn over t3s :null
2016-01-06 11:53:18,315 [main] INFO  oms.StoreReposDetails logp.251 - Since there is a failure, rolling back the getLockConn
2016-01-06 11:53:18,324 [main] ERROR oms.StoreReposDetails logp.251 -
java.lang.NullPointerException
       at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
       at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
       at weblogic.management.remote.iiop.IIOPServerImpl_1036_WLStub.newClient(Unknown Source)
       at weblogic.management.remote.common.RMIServerWrapper.newClient(ClientProviderBase.java:348)
       at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2327)
       at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:277)
       at weblogic.management.remote.common.WLSRMIConnector.doConnect(WLSRMIConnector.java:152)
       at weblogic.management.remote.common.WLSRMIConnector.access$100(WLSRMIConnector.java:29)
       at weblogic.management.remote.common.WLSRMIConnector$2.run(WLSRMIConnector.java:140)
       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.WLSRMIConnector.connect(WLSRMIConnector.java:138)
       at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
       at oracle.sysman.util.jmx.JMXUtil.getMBeanServerConn(JMXUtil.java:103)
       at oracle.sysman.emctl.util.EmctlUtil.getMBeanServerConn(EmctlUtil.java:778)
       at oracle.sysman.emctl.config.oms.StoreReposDetails.processCmd(StoreReposDetails.java:248)
       at oracle.sysman.emctl.config.oms.StoreReposDetails.main(StoreReposDetails.java:549)
Caused by: java.lang.NullPointerException
       at oracle.security.jps.az.internal.runtime.policy.SystemPolicyImpl.<init>(SystemPolicyImpl.java:85)
       at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.initializeUncontrolledMode(PDPServiceImpl.java:570)
       at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.initial(PDPServiceImpl.java:489)
       at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.getSystemPolicy(PDPServiceImpl.java:888)
       at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.getPermissionsForGrantee(PDPServiceImpl.java:1416)
       at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.getPermissions(PDPServiceImpl.java:1392)
       at oracle.security.jps.internal.policystore.PolicyDelegationController.getPermissions(PolicyDelegationController.java:247)
       at oracle.security.jps.internal.policystore.PolicyDelegationController.getPermissions(PolicyDelegationController.java:228)
       at oracle.security.jps.internal.policystore.JavaPolicyProvider.getPermissions(JavaPolicyProvider.java:468)
       at oracle.security.jps.internal.policystore.JavaPolicyProvider.impliesCSDomain(JavaPolicyProvider.java:644)
       at oracle.security.jps.internal.policystore.JavaPolicyProvider.implies_NotPrivileged(JavaPolicyProvider.java:593)
       at oracle.security.jps.internal.policystore.JavaPolicyProvider.implies(JavaPolicyProvider.java:579)
       at oracle.security.jps.internal.policystore.JavaPolicyProvider.implies(JavaPolicyProvider.java:563)
       at java.security.ProtectionDomain.implies(ProtectionDomain.java:224)
       at java.security.AccessControlContext.checkPermission(AccessControlContext.java:352)
       at java.security.AccessController.checkPermission(AccessController.java:549)
       at com.sun.jmx.remote.security.SubjectDelegator.checkRemoveCallerContext(SubjectDelegator.java:123)
       at javax.management.remote.rmi.RMIConnectionImpl.<init>(RMIConnectionImpl.java:118)
       at weblogic.management.remote.iiop.IIOPServerImpl.makeClient(IIOPServerImpl.java:69)
       at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:231)
       at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
       at weblogic.management.remote.iiop.IIOPServerImpl_WLSkel.invoke(Unknown Source)
       at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
       at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
       at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
       at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
       at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
       at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
       at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
       at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

 

 

Changes

 

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