3 Replies Latest reply on Jan 21, 2013 5:02 PM by Venkata Thiruveedhi-Oracle

    Applying Patch 14833587 fails at post_deploy step

    928411
      After applying Patch 14833587, running the post_deploy.bat fails with the below error message:

      Exception in thread "main" java.lang.NoClassDefFoundError:
      oracle/sysman/emSDK/conf/TargetInstaller
      Caused by: java.lang.ClassNotFoundException:
      oracle.sysman.emSDK.conf.TargetInstaller
      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

      Any known issues?

      -wern
        • 1. Re: Applying Patch 14833587 fails at post_deploy step
          Venkata Thiruveedhi-Oracle
          Hi,

          Confirm if the OS is Windows?

          If yes, then we have a known issue.

          Cause:
          ====
          On Unix ports we use post_deploy.sh which explicitly sets EMDROOT. This is not the case in post_deploy.bat

          Issue is being investigated in the following bug:
          Bug 16061278: RUNNING POST_DEPLOY.BAT FOR PATCH 14833587 FAILS WITH NOCLASSDEFFOUNDERROR

          Workaround:
          ========
          As a work around follow the steps provided below:

          1. Set the EMDROOT variable manually:
          set EMDROOT=$ORACLE_HOME

          2. Then execute the post script: post_deploy.bat

          This fails with the following error now:
          C:\Oracle\oem\oms\14833587>post_deploy

          Post deploy OMS automation script [Version: 11.1.0.9.5, Build date: 5th February, 2012]
          ________________________________________________________________________________
          _______

          Please enter Patch Location: C:\Oracle\oem\oms\14833587\
          Please enter SYSMAN password:
          ********
          ****

          The script will run the following command(s):
          c:\oracle\oem\oms\bin\emctl applypatch repos -patchHome C:\Oracle\oem\oms\14833587\
          Please monitor log file "C:\Oracle\oem\oms\14833587\log\2013-01-18-14-32-07.log"...
          The system cannot find the path specified.
          Script failed to complete due to command failures. Please check log file for err

          3. Now from the above error, pick the command which it executes internally and run it manually:
          <OMS_HOME>\bin\emctl applypatch repos -patchHome Patch Location\14833587\

          Now the patch application is completed.

          Thanks,
          Venkat
          • 2. Re: Applying Patch 14833587 fails at post_deploy step
            928411
            Perfect!! this workaround works.

            When this bug will be fixed?
            • 3. Re: Applying Patch 14833587 fails at post_deploy step
              Venkata Thiruveedhi-Oracle
              HI,

              Thanks for the confirmations!! As of now, no ETA. Its been under review with the Dev.
              This was the workaround we have got internally.

              Thanks,
              Venkat
              1 person found this helpful