EM:13.4 Upgrade from OEM 13.2 to OEM 13.4 Fails at Securing OMS with Error "Migrating policy store failed with exit code: 2"
(Doc ID 2685274.1)
Last updated on MAY 02, 2021
Applies to:
Enterprise Manager Base Platform - Version 13.4.0.0.0 and laterInformation in this document applies to any platform.
Symptoms
Upgrade from EM 13.2 to 13.4 Fails while Securing OMS at OMS Configuration step with below error
</em13_4>/cfgtoollogs/omsca/omsca_xxxxxx.log
SEVERE: Exception occurred while securing OMS:
java.lang.Exception: Migrating policy store failed with exit code: 2
at oracle.sysman.emctl.util.UpgradeOPSS.performUpgrade(UpgradeOPSS.java:206)
at oracle.sysman.omsca.adapter.wls.OMSWLSAdapter.adapterPostDeployAndReposSetup(OMSWLSAdapter.java:3366)
at oracle.sysman.omsca.framework.OMSGenericAdapter.postDeployAndReposSetup(OMSGenericAdapter.java:334)
at oracle.sysman.omsca.framework.OMSCAUpgradeInstall.execute(OMSCAUpgradeInstall.java:580)
at oracle.sysman.omsca.framework.OMSConfigAssistantDriver.main(OMSConfigAssistantDriver.java:289)
<em13_4>/cfgtoollogs/omsca/logsxxxxxx/emLogs/sysman/log/secure.log
Error:
Migrate policies jps-config: <gc_inst>/em/EMGC_OMS1/sysman/config/upgrade_migrate_policies.xml
Migrating policyStore
set common.components.home to </em13_4>/oracle_common
Command resulted in: Name "appRoleName" starts or ends with whitespace.
Name of Exception: oracle.security.jps.service.policystore.info.common.InvalidArgumentException
Code of Exception: oracle.security.jps.service.policystore.info.common.InvalidArgumentException: Name "appRoleName" starts or ends with whitespace.
SEVERE: Exception occurred while migrating policystore
2020-05-27 02:10:30,306 [main] INFO util.EmctlUtil logp.251 - Exit code: 2
2020-05-27 02:10:30,306 [main] INFO util.EmctlUtil logp.251 - error messages of the command : No messages
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 |