EBS R12.2: RESTARTING ONLINE PATCHING ENABLEMENT PATCH when failed

Error:

When applying online enablement patch 13543062 for adop, patch stopped at last 3 jobs remaining.

When tried to continue the patch from where it stopped it is throwing the following error.

ERROR: adpatch is not available for standalone use. Use adop to apply
  patches. For usage, enter adop -? or adop -help.


This happens that many time there are issues encountered and we have restart patch using below command.

adpatch options=hotpatch,forceapply

When the time comes to re-apply the patch to fix problems, if you use the same command to reapply the patch, we will notice that the patch completed normal with in no time and nothing happens in the back end. This is because of a specific feature from Adpatch. 
ADPATCH by default skips jobs that are marked as “run successfully” in previous runs or as part of another patch. So we have to force it re-run those jobs. 

adpatch options=hotpatch,forceapply,nocheckfile


Reason:

Since the patch is half way through and tables are updated as applied, system thinks online patching is already enabled.
Hence not allowing to use adpatch and insisting to use adop.
 

We can still re-apply the Online Patch Enablement using Adpatch after setting the environment variable below:

Solution:

export ENABLE_ADPATCH=YES

Then 

adpatch options=hotpatch,forceapply




If you like please follow and comment