EM 12.1.0.4 with PSU3 Applied: Deploying Any Plug-in Fails Right at the Beginning with the Error EM-04002 (Doc ID 2015804.1)

Last updated on SEPTEMBER 16, 2015

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.4.0 to 12.1.0.4.0 [Release 12.1]
Microsoft Windows x64 (64-bit)

Symptoms

Deploying any new Plug-in on Windows or Upgrading any Plug-in fails straight away at the initialization step.

Checking the Plug-in deployment job in Enterprise Manager Job Activity shows that the job failed.
Example of job:

Job Name: PLUGIN_DEPLOYMENT_PREREQ_100009_ORACLE.SYSMAN.DB
Status: Problem
Step: PerformPrereq: Failed
Step details:
[...]
Options passed: -loglevel debug -client deploymentjob -oraclehome c:/app/oracle/product/em/oms -middlewarehome C:/app/oracle/product/em -restore -action prereqcheck -archives C:/app/oracle/product/em/swlib/22/B2E81F87AB1140AC8918ED744C728AF9 -revisions 0 -isfirstoms true -deploymentid 100009 -omsid 1,7F5D89BBCACEFD7771AAD651802E29AF

Installing plug-in oracle.sysman.db to C:\app\oracle\product\em\plugins\oracle.sysman.db.oms.plugin_12.1.0.7.0

EM-04002: Installation of the plug-in oracle.sysman.db:12.1.0.7.0 on the Oracle home C:\app\oracle\product\em\plugins\oracle.sysman.db.oms.plugin_12.1.0.7.0 failed on the Management Server host myhost.mydomain. Resolve the following issues, and retry:
C:\app\oracle\product\emagent\agent_inst\sysman\emd>"c:\app\oracle\product\em\oms/oui/bin/setup.exe" -silent -waitforcompletion -clone -forceclone -defaulthomename -jreLoc C:\app\oracle\product\em\jdk16\jdk\jre -J-Xmx512m "dependeeHome=c:\app\oracle\product\em\oms" "ORACLE_HOME=C:\app\oracle\product\em\plugins\oracle.sysman.db.oms.plugin_12.1.0.7.0" -noWait
Diagnostic log file: c:\app\oracle\product\em\oms\cfgtoollogs\pluginca\plugin_deployment_100009\configplugin_prereq_check_2015-05-15_22-07-52.log
For help type emctl plugin deploy -help

 

The file :\app\oracle\product\em\oms\cfgtoollogs\pluginca\plugin_deployment_100009\configplugin_prereq_check_2015-05-15_22-07-52.log contains:

[...]

oracle.sysman.core.common.extensibility.pluginca.PluginCAException: EM-04002: Installation of the plug-in oracle.sysman.db:12.1.0.7.0 on the Oracle home C:\app\oracle\product\em\plugins\oracle.sysman.db.oms.plugin_12.1.0.7.0 failed on the Management Server host elenoc-pc.fr.oracle.com. Resolve the following issues, and retry:
C:\app\oracle\product\emagent\agent_inst\sysman\emd>"c:\app\oracle\product\em\oms/oui/bin/setup.exe" -silent -waitforcompletion -clone -forceclone -defaulthomename -jreLoc C:\app\oracle\product\em\jdk16\jdk\jre -J-Xmx512m "dependeeHome=c:\app\oracle\product\em\oms" "ORACLE_HOME=C:\app\oracle\product\em\plugins\oracle.sysman.db.oms.plugin_12.1.0.7.0" -noWait

    at oracle.sysman.core.common.extensibility.pluginca.PluginCADriver.extractArchivesIfRequired(PluginCADriver.java:1736)
    at oracle.sysman.core.common.extensibility.pluginca.PluginCADriver.initPluginCA(PluginCADriver.java:1991)
    at oracle.sysman.core.common.extensibility.pluginca.PluginCADriver.beginConfig(PluginCADriver.java:1162)
    at oracle.sysman.core.common.extensibility.pluginca.PluginCADriver.main(PluginCADriver.java:2453)
Caused by: oracle.sysman.core.common.extensibility.deploy.StepException: Exit value of process oui/bin/setup.exe is non-zero: 1
    at oracle.sysman.core.common.extensibility.deploy.unzip.PluginUnzip.runInstaller(PluginUnzip.java:417)
    at oracle.sysman.core.common.extensibility.deploy.unzip.PluginUnzip.installPlugin(PluginUnzip.java:231)
    at oracle.sysman.core.common.extensibility.deploy.unzip.PluginUnzip.execute(PluginUnzip.java:221)
    at oracle.sysman.core.common.extensibility.pluginca.PluginCADriver.extractArchivesIfRequired(PluginCADriver.java:1676)
    ... 3 more
[...]


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