My Oracle Support Banner

Applying BP2 to OIM 11.1.2.2.0 : Patch_oim_wls.sh Exiting With Error : NoClassDefFoundError: oracle.mds.persistence.MetadataStore (Doc ID 1933937.1)

Last updated on AUGUST 11, 2021

Applies to:

Identity Manager - Version 11.1.2.2.2 and later
Information in this document applies to any platform.

Symptoms

After installation of OIM 11.1.2.2.0, while applying BP2 (patch 18818527), an error occurs running patch_oim_wls.sh .

Error occurs when we try and run $MW_HOME/Oracle_IAM1/server/bin/patch_oim_wls.sh.
patch_oim_wls.profile has been set as instructed.
WebLogic Admin and OIM servers are running as instructed.
SOA_HOME, ANT_HOME, JAVA_HOME, OIM_ORACLE_HOME are all set as instructed
Entire contents of patch_oim_wls.log is as follows:
$ cat  patch_oim_wls.log

patch_automation:
    [input] skipping input as property OIM.DBPassword has already been set.
    [input] skipping input as property mdsDB.password has already been set.

wls_property:
    [input] skipping input as property weblogic_password has already been set.
    [input] skipping input as property oim_password has already been set.

invoke-metadata-seeding:
     [exec] Exception in thread "main" java.lang.NoClassDefFoundError: oracle.mds.persistence.MetadataStore
     [exec]     at java.lang.J9VMInternals.verifyImpl(Native Method)
     [exec]     at java.lang.J9VMInternals.verify(J9VMInternals.java:94)
     [exec]     at java.lang.J9VMInternals.initialize(J9VMInternals.java:171)
     [exec]     at oracle.iam.oimupgrade.standalone.utils.UpgradeUtil.importMDS(UpgradeUtil.java:130)
     [exec]     at oracle.iam.patching.PatchAutomationImportMDS.main(Unknown Source)
     [exec] Caused by: java.lang.ClassNotFoundException: oracle.mds.persistence.MetadataStore
     [exec]     at java.net.URLClassLoader.findClass(URLClassLoader.java:599)
     [exec]     at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:760)
     [exec]     at java.lang.ClassLoader.loadClass(ClassLoader.java:728)
     [exec]     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:325)
     [exec]     at java.lang.ClassLoader.loadClass(ClassLoader.java:707)
     [exec]     ... 5 more

BUILD FAILED
<MIDDLEWARE_HOME>/Oracle_IAM1/server/setup/deploy-files/automation.xml:203: The following error occurred while executing this line:
<MIDDLEWARE_HOME>/Oracle_IAM1/server/setup/deploy-files/automation.xml:83: exec returned: 1

On IBM AIX

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.