How to use adpatch utility to apply a patch?

1. Open a new terminal window and setup environment to run scripts on Application Tier (for more info see How to setup environment for Application Tier at linux terminal?)

2. Stop all application services from Application Tier (for more info see How to stop Application Tier in Oracle E Business Suite?)

3. Start 'adadmin' utility and bring the system in maintenance mode (for more info see How to use adadmin utility for enabling maintenance mode?)

6. Open a new terminal window and setup environment to run scripts on Application Tier (for more info see How to setup environment for Application Tier at linux terminal?)

7. Start the adpatch utility

cd $AD_TOP/bin

adpatch

It will ask you to provide couple of details such as your SYSTEM and APPS user DB password, confirm your Patch directory, number of workers etc.

8. Once you give above information, the patch application will start automatically

9. If there's an error, it will be displayed in the terminal (with the details of the job and worker that failed) and you will be instructed to fix it and restart the worker.

10. Fix the error and restart the the worker using 'adctrl' utility (for more info see How to use adctrl utility to restart failed worker in patch application?)

11. If there are no more errors, adpatch will complete applying the patch. At the end it will give you log file and error file details.

12. After successful application of patch, disable the maintenace mode using adadmin utility (for more info see How to use adadmin utility for enabling maintenance mode?)

13. Start Application Tier (for more info see How to start Application Tier?)

14. Test your patch fixes

 

Assumptions

  • Database is up and running

 

Environment

  • Oracle E Business Suite R12i
  • Oracle Enterprise Linux 5.7
How to start Application Tier?
How to use adadmin utility for enabling maintenanc...