My Oracle Support Banner

EM 13C : emctl config emkey -copy_to_repos Fails Error : javax.management.RuntimeMBeanException: javax.management.RuntimeMBeanException (Doc ID 2669535.1)

Last updated on MAY 13, 2020

Applies to:

Enterprise Manager Base Platform - Version 13.1.0.0.0 to 13.4.1.0.0 [Release 13c]
Information in this document applies to any platform.

Symptoms

Copying emkey to Repository fails with the below error :

$<Middleware_Home>/bin/./emctl config emkey -copy_to_repos
Oracle Enterprise Manager Cloud Control 13c Release 2
Copyright (c) 1996, 2016 Oracle Corporation. All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password :
Error occurred. Check the log /<EM_Instance_Home>/em/EMGC_OMS1/sysman/log/secure.log

From secure.log

javax.management.RuntimeMBeanException: javax.management.RuntimeMBeanException
at weblogic.utils.StackTraceDisabled.unknownMethod()
Caused by: javax.management.RuntimeMBeanException
... 1 more
Caused by: java.lang.NullPointerException
... 1 more
2020-05-12 10:01:18,698 [main] INFO oms.AdminCredsWalletUtil setInstanceHome.177 - Getting credentials from wallet
2020-05-12 10:01:19,652 [main] INFO oms.AdminCredsWalletUtil setInstanceHome.192 - Read the credentials from wallet
2020-05-12 10:01:19,660 [main] INFO util.EmctlUtil logp.251 - Connecting over t3s to: <ADMIN_SERVER_HOST>/<PORT> using id: weblogic
2020-05-12 10:01:23,421 [main] INFO oms.EMKeyCmds logp.251 - Getting repository details
2020-05-12 10:01:23,520 [main] INFO mas.CredStoreUtil logp.251 - getCredential : Got creds for mapName -EM keyName - REPOS_DETAILS
2020-05-12 10:01:23,526 [main] ERROR oms.EMKeyCmds logp.251 - javax.management.RuntimeMBeanException
javax.management.RuntimeMBeanException: javax.management.RuntimeMBeanException
at weblogic.utils.StackTraceDisabled.unknownMethod()
Caused by: javax.management.RuntimeMBeanException
... 1 more
2020-05-12 10:50:07,334 [main] ERROR oms.EMKeyBRCmds logp.251 - Provide values for admin_host,admin_port and admin_user options on command line
java.lang.Exception: Provide values for admin_host,admin_port and admin_user options on command line
at oracle.sysman.emctl.config.oms.EMKeyBRCmds.processEmKeyBRCmd(EMKeyBRCmds.java:148)
at oracle.sysman.emctl.config.oms.EMKeyBRCmds.main(EMKeyBRCmds.java:293)
2020-05-12 10:51:52,087 [main] INFO oms.AdminCredsWalletUtil setInstanceHome.177 - Getting credentials from wallet
2020-05-12 10:51:53,019 [main] INFO oms.AdminCredsWalletUtil setInstanceHome.192 - Read the credentials from wallet
2020-05-12 10:51:53,026 [main] INFO util.EmctlUtil logp.251 - Connecting over t3s to: <ADMIN_SERVER_HOST>/<PORT> using id: weblogic
2020-05-12 10:51:56,628 [main] INFO oms.EMKeyCmds logp.251 - Getting repository details
2020-05-12 10:51:56,741 [main] INFO mas.CredStoreUtil logp.251 - getCredential : Got creds for mapName -EM keyName - REPOS_DETAILS
2020-05-12 10:51:56,751 [main] ERROR oms.EMKeyCmds logp.251 - javax.management.RuntimeMBeanException
javax.management.RuntimeMBeanException: javax.management.RuntimeMBeanException
at weblogic.utils.StackTraceDisabled.unknownMethod()
Caused by: javax.management.RuntimeMBeanException
... 1 more
Caused by: java.lang.NullPointerException
... 1 more 

 

 

 

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
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.