My Oracle Support Banner

PasteConfig Fail With "AccessControlException: access denied (oracle.security.jps.service.credstore.CredentialAccessPermission context=SYSTEM,mapName=OAM_STORE,keyName=coh write)" In AdminServer Logs (Doc ID 2162045.1)

Last updated on OCTOBER 05, 2019

Applies to:

Oracle Access Manager - Version 11.1.2.0.0 and later
Information in this document applies to any platform.

Symptoms

PasteConfig fail with below errors: 

logs associated with this failure looks like as follows.

 

#--------------CLONE2016-07-07_13-23-59_606001933.error--------------------------

SEVERE : [PLUGIN][OAM] - ERROR - Jul 7, 2016 1:35:40 PM - CLONE-84016 Cloning of OAM Domain Failed
SEVERE : [PLUGIN][OAM] - CAUSE - Jul 7, 2016 1:35:40 PM - CLONE-84016 Error in examining OAM Domain
SEVERE : [PLUGIN][OAM] - ACTION - Jul 7, 2016 1:35:40 PM - CLONE-84016 Check the clone log/error files and OAM Server logs.
oracle.as.t2p.exceptions.FMWT2PPasteConfigException: oracle.as.t2p.exceptions.FMWT2PPasteConfigException: javax.management.RuntimeMBeanException: javax.management.RuntimeMBeanException: Configuration MBean not initialized.
at oracle.security.am.t2p.impl.AMPasteConfigImpl.doPasteConfig(AMPasteConfigImpl.java:656)
at oracle.as.clone.cloner.component.J2EEComponentApplyCloner.applyAllPluginImpl(J2EEComponentApplyCloner.java:842)
at oracle.as.clone.cloner.component.J2EEComponentApplyCloner.doClone(J2EEComponentApplyCloner.java:332)
at oracle.as.clone.cloner.Cloner.doFinalClone(Cloner.java:63)
at oracle.as.clone.request.ApplyCloneRequest.applyArchive(ApplyCloneRequest.java:188)
at oracle.as.clone.request.ApplyCloneRequest._clone(ApplyCloneRequest.java:69)
at oracle.as.clone.process.CloningExecutionProcess.execute(CloningExecutionProcess.java:131)
at oracle.as.clone.process.CloningExecutionProcess.execute(CloningExecutionProcess.java:114)
at oracle.as.clone.client.CloningClient.executeT2PCommand(CloningClient.java:257)
at oracle.as.clone.client.CloningClient.main(CloningClient.java:119)
Caused by: oracle.as.t2p.exceptions.FMWT2PPasteConfigException: javax.management.RuntimeMBeanException: javax.management.RuntimeMBeanException: Configuration MBean not initialized.
at oracle.security.am.t2p.impl.AMPasteConfigImpl.retrieveProperty(AMPasteConfigImpl.java:900)
at oracle.security.am.t2p.impl.AMPasteConfigImpl.doPasteConfig(AMPasteConfigImpl.java:292)
at oracle.as.clone.cloner.component.J2EEComponentApplyCloner.applyAllPluginImpl(J2EEComponentApplyCloner.java:845)
... 8 more
Caused by: javax.management.RuntimeMBeanException: javax.management.RuntimeMBeanException: Configuration MBean not initialized.
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 oracle.as.clone.cloner.component.J2EEComponentApplyCloner.applyAllPluginImpl(J2EEComponentApplyCloner.java:842)
at oracle.as.clone.cloner.component.J2EEComponentApplyCloner.doClone(J2EEComponentApplyCloner.java:330)
... 7 more
Caused by: javax.management.RuntimeMBeanException: Configuration MBean not initialized.
at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.doInvoke(OracleStandardEmitterMBean.java:1020)
at oracle.adf.mbean.share.AdfMBeanInterceptor.internalInvoke(AdfMBeanInterceptor.java:104)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.internalInvoke(AbstractMBeanSecurityInterceptor.java:190)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor$2.run(JpsJmxInterceptor.java:358)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
....
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:119)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: oracle.security.am.admin.config.mgmt.exceptions.ConfigManagementRuntimeException: Configuration MBean not initialized.
at oracle.security.am.admin.config.mgmt.beanimpl.AMConfiguration.checkInitialization(AMConfiguration.java:274)
at oracle.security.am.admin.config.mgmt.beanimpl.AMConfiguration.retrieveStringProperty(AMConfiguration.java:681)
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)
...
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)
... 2 more
SEVERE : Jul 7, 2016 13:35:40 - ERROR - CLONE-20237 Restoring the sourceid "J2EECOMPONENT@OAM_domain" has failed.
SEVERE : Jul 7, 2016 13:35:40 - CAUSE - CLONE-20237 An internal operation failed.
SEVERE : Jul 7, 2016 13:35:40 - ACTION - CLONE-20237 Check the clone log for more details.
SEVERE : Jul 7, 2016 13:35:40 - ERROR - CLONE-20218 Cloning is not successful.
SEVERE : Jul 7, 2016 13:35:40 - CAUSE - CLONE-20218 An internal operation failed.
SEVERE : Jul 7, 2016 13:35:40 - ACTION - CLONE-20218 Provide the clone log and error file for investigation.

#------------CLONE2016-07-07_13-23-59_606001933.log-------------------
Jul 7, 2016 1:27:38 PM oracle.security.jps.internal.tools.utility.destination.apibased.JpsDstKeyStore setKeyStore
WARNING: Cannot migrate keystore/stripe system/trust.Reason oracle.security.jps.service.keystore.KeyStoreServiceException: oracle.security.jps.service.keystore.KeyStoreServiceException: Failed to perform cryptographic operation.
Jul 7, 2016 1:27:38 PM oracle.security.jps.internal.tools.utility.destination.apibased.JpsDstKeyStore setKeyStore
WARNING: Cannot migrate keystore/stripe system/castore.Reason oracle.security.jps.service.keystore.KeyStoreServiceException: oracle.security.jps.service.keystore.KeyStoreServiceException: Failed to perform cryptographic operation.
.....
INFO : [PLUGIN][OAM] Jul 7, 2016 1:35:39 PM - CLONE-83010 Executing "Paste Configuration" operation of the OAM plugin.
INFO : [PLUGIN][OAM] Jul 7, 2016 1:35:40 PM - CLONE-83011 Extracting OAMt2p folder from archive.
INFO : [PLUGIN][OAM] Jul 7, 2016 1:35:40 PM - CLONE-83012 Implementing the move plan.
INFO : [PLUGIN][OAM] Jul 7, 2016 1:35:40 PM - CLONE-83018 Updated the Proxy port for the Managed Servers.
INFO : [PLUGIN][OAM] Jul 7, 2016 1:35:40 PM - CLONE-83043 Error in cloning OAM domain.

Changes

Customer is trying to clone an OAM clustered environment.
On source copyBinary and copyConfig run successfully.
On destination pasteBinary is ok, pasteConfig fail.

Cause

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
Symptoms
Changes
Cause
Solution
References


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