A Brief Introduction to ADPatch
A Brief Introduction to ADPatch
AutoPatch (adpatch)
“AutoPatch (adpatch) is the utility you use to apply patches to the Oracle E-Business Suite file system or database.”
Modes Of adpatch
There Are Four Modes given Below In which ADpatch Can Be User
- Interactive mode
- Non-Interactive mode
- Test mode
- Pre-Install mode
Interactive Mode
It is the default mode of ADpatch. We can apply patch in this mode by going into patch directory and simply type adpatch in command prompt and hit enter.
Non-Interactive
You can apply Patch in this mode as:
$adpatch Interactive=no
It uses default files to store prompt values and can be applied from patch directory.
Test Mode
This mode is purposely used to check what exactly patch will do without actually changing anything.
We can apply patch in this mode as:
$adpatch apply=no
By default apply=yes
PreInstall Mode
This mode is used for any upgrade or consolidated update of utilities itself. It is suggested to apply pre-install patch first.
When we apply patch in preinstall mode, it updates all AD utilities before upgrade or update.
We can apply adpatch in this mode as:
$adpatch preinstall=y
Options used in adpatch
We have multiple adpatch options and based on the requirement we can use specific options.
Noautoconfig
This options is used to skip the autoconfig execution, whereas by default it executes the autoconfig and updates the configuration file if any template file is added. This option is helpful when we apply multiple adpatch and they are not merged.
$adpatch options=noautoconfig
Nocompiledb(without compiling database)
While we apply adpatch, It may create invalid objects and by default adpatch compiles the invalid objects after patch application. But in case you do not want to compile invalid objects to ensure the minimal autopatch time, you can apply adpatch as below:
$adpatch options=nocompiledb
Nocopyportion
This option is used to apply adpatch without copying the files present in copy driver. This can be applies as:
$adpatch options=nocopyportion
Nocompilejsp
Adpatch also compiles the java server pages(JSP) after completion of patch application and can be skipped using the option nocompilejsp as below:
$adpatch options=nocompilejsp
Nodatabaseportion
Nodatabaseportion option is used to skip the adpatch the activity of database driver. It can be used as:
$adpatch options=nodatabaseportion
Nogenerateportion
Nogenerateportion option is used to skip the adpatch activity of generate driver portion of the patch and you can use the option nogenerateportion as below:
$adpatch options=nogenerateportion
Maintenance Mode disabled
This option is used to apply patch without enabling maintenance mode. It can be used as:
$adpatch options=hotpatch
Nolink
This option is used to skip the relinking and can be used as:
$adpatch options=nolink
Nogenform
This option is used to skip the generate form file. It can be used as:
$adpatch options=nogenform
Maintainmrc
This Option is used to execute the maintain MRC schema as part of patch. By default maintain MRC is done for standard patch and is disabled for documentation and translation patches.
$adpatch options=nomaintainmrc
Noprereq
This option is used to skip the pre-requisite Checks of Patches. This option can be used as below:
$adpatch options=noprereq