Tuesday, July 19, 2016

Fails to Apply ADF Patch 18277370 on Solaris 64bit (Doc ID 2038297.1)

Click to add to Favorites OUD11gR2PS2: Fails to Apply ADF Patch 18277370 on Solaris 64bit (Doc ID 2038297.1) To BottomTo Bottom In this Document Symptoms Cause Solution References APPLIES TO: Oracle Unified Directory - Version 11.1.2.2.0 to 11.1.2.2.2 [Release 11g] Information in this document applies to any platform. SYMPTOMS Patch 18277370 is a ADF patch to support IE11 in ODSM. But when it is attempted to be applied using opatch, it fails on Solaris 64bit environment with UnsatisfiedLinkError as follows. $ export ORACLE_HOME=$MW_HOME/oracle_common $ $MW_HOME/oracle_common/OPatch/opatch apply java.lang.UnsatisfiedLinkError: /export/home/oracle/app/Middleware/oracle_common/oui/lib/solaris/liboraInstaller.so: ld.so.1: java: fatal: /export/home/oracle/app/Middleware/oracle_common/oui/lib/solaris/liboraInstaller.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch) at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1851) at java.lang.Runtime.load0(Runtime.java:795) at java.lang.System.load(System.java:1062) at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:402) at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.(OiipuUnixOps.java:125) at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.ssgetUidux(OiipgEnvironment.java:528) at oracle.sysman.oii.oiix.OiixEnvironmentOps.ssgetUidux(OiixEnvironmentOps.java:159) at oracle.opatch.OUIReplacer.isRootAccess(OUIReplacer.java:832) at oracle.opatch.OPatch.main(OPatch.java:518) Exception in thread "main" java.lang.UnsatisfiedLinkError: no oraInstaller in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886) at java.lang.Runtime.loadLibrary0(Runtime.java:849) at java.lang.System.loadLibrary(System.java:1088) at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:420) at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.(OiipuUnixOps.java:125) at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.ssgetUidux(OiipgEnvironment.java:528) at oracle.sysman.oii.oiix.OiixEnvironmentOps.ssgetUidux(OiixEnvironmentOps.java:159) at oracle.opatch.OUIReplacer.isRootAccess(OUIReplacer.java:832) at oracle.opatch.OPatch.main(OPatch.java:518) OPatch failed with error code 1 $ CAUSE Bug 21522623 - fails to run opatch on solaris 64bit SOLUTION Since this issue happens because '-d64' is missing in JRE_MEMORY_OPTIONS on $MW_HOME/oracle_common/oui/oraparam.ini, please add '-d64' option into JRE_MEMORY_OPTIONS on $MW_HOME/oracle_common/oui/oraparam.ini like as below. JRE_MEMORY_OPTIONS=" -d64 -mx512m -XX:MaxPermSize=256m"

No comments:

Post a Comment