[SOLVED] Unable to apply part of FMW Common server patch 9905685 under directory sa

Issue

Unable to apply part of FMW Common server patch 9905685 under directory sa

Patch 9905685 comes with two directories - 'oui' and 'sa'.

I could successfully apply the patch under 'oui' directory. But following error was thrown when applying the patch under 'sa' directory:

[applvis@localhost ~]$ . /u01/oracle/VIS/fs1/EBSapps/appl/APPSVIS_ebs1227oel75.env run
[applvis@localhost ~]$ export ORACLE_HOME=/u01/oracle/VIS/fs1/FMW_Home/oracle_common
[applvis@localhost ~]$ export PATH=ORACLE_HOME/bin:$PATH
[applvis@localhost ~]$ pwd
/u01/Stage122/1_patches/2_apps/3_fmw_common/9905685/sa
[applvis@localhost ~]$ /u01/oracle/VIS/fs1/FMW_Home/oracle_common/OPatch/opatch apply
Oracle Interim Patch Installer version 11.1.0.12.9
Copyright (c) 2018, Oracle Corporation.  All rights reserved.

Oracle Home       : /u01/oracle/VIS/fs1/FMW_Home/oracle_common
Central Inventory : /u01/oraInventory
   from           : /u01/oracle/VIS/fs1/FMW_Home/oracle_common/oraInst.loc
OPatch version    : 11.1.0.12.9
OUI version       : 11.1.0.11.0
Log file location : /u01/oracle/VIS/fs1/FMW_Home/oracle_common/cfgtoollogs/opatch/9905685_Sep_25_2018_09_42_19/apply2018-09-25_09-42-19AM_1.log

OPatch detects the Middleware Home as "/u01/oracle/VIS/fs1/FMW_Home"

Applying interim patch '9905685' to OH '/u01/oracle/VIS/fs1/FMW_Home/oracle_common'
Verifying environment and performing prerequisite checks...
Log file location: /u01/oracle/VIS/fs1/FMW_Home/oracle_common/cfgtoollogs/opatch/9905685_Sep_25_2018_09_42_19/apply2018-09-25_09-42-19AM_1.log

Recommended actions: Please make sure no other OPatch or OUI processes is running. Try to run $ORACLE_HOME/oui/bin/runInstsaller.

OPatch failed with error code 20
[applvis@localhost ~]$ pwd
/u01/Stage122/1_patches/2_apps/3_fmw_common/9905685/sa

Investigation done
Upon further investigation I found additional errors in the log file:

                             OPatch found incompatible or invalid applicable product type with respect to the Oracle Home.
[Sep 25, 2018 9:37:08 AM]    OUI-67035:System is intact, OPatch will not restore the system
[Sep 25, 2018 9:37:08 AM]    Finishing ApplySession at Tue Sep 25 09:37:08 PDT 2018
[Sep 25, 2018 9:37:08 AM]    Total time spent waiting for user-input is 0 seconds.  Finish at Tue Sep 25 09:37:08 PDT 2018
[Sep 25, 2018 9:37:08 AM]    Log file location: /u01/oracle/VIS/fs1/FMW_Home/oracle_common/cfgtoollogs/opatch/9905685_Sep_25_2018_09_37_01/apply2018-09-25_09-37-01AM_1.log
[Sep 25, 2018 9:37:08 AM]    Stack Description: oracle.opatch.PrereqFailedException: Prerequisite check "CheckApplicableProduct" failed.

                             The details are:
                             OPatch found incompatible or invalid applicable product type with respect to the Oracle Home.
[Sep 25, 2018 9:37:08 AM]    StackTrace: oracle.opatch.OPatchSessionHelper.performPatchApplicableProductPrereq(OPatchSessionHelper.java:3630)
[Sep 25, 2018 9:37:08 AM]    StackTrace: oracle.opatch.ApplySession.processLocal(ApplySession.java:3309)
[Sep 25, 2018 9:37:08 AM]    StackTrace: oracle.opatch.ApplySession.process(ApplySession.java:5379)
[Sep 25, 2018 9:37:08 AM]    StackTrace: oracle.opatch.OPatchSession.main(OPatchSession.java:1975)
[Sep 25, 2018 9:37:08 AM]    StackTrace: oracle.opatch.OPatch.main(OPatch.java:718) 

Solution
SA is for a 'Standalone Application' installation of FMW. You only need to apply the 'oui' version of the patch. So you can safely ignore it and proceed ahead with your other remaining patch applications.

Environment

+ Oracle E-Business Suite Release 12.2.0

+ Oracle Fusion Middleware (FMW) - oracle_common Version = 11.1.1.9.0

+ Oracle Linux 7.5

[SOLVED] How to open port 1521 in firewall under O...
[SOLVED] Error occurs when executing special instr...