Beruflich Dokumente
Kultur Dokumente
a) login as applmgr and set the environment. For the Windows environment also, you have to test
that CLASSPATH contains %JAVA_TOP%, %JAVA_TOP%\loadjava.zip
b) create a PATCH_TOP directory in the Base Directory (at the same level as APPL_TOP,
COMMON_TOP, etc: this is just a recommandation) for the patches which will be downloaded. If this
directory exists, this step can be skipped. An OS environment variable could be created for this
directory. This will be done only one time, when the first patch will be applied.
c) download the patch you want to apply in PATCH_TOP directory and unzip the patch.
d) understand the README.txt file and complete the prerequisite or manual steps. Here, if there are
any patched to apply as pre-requisite, in general, is created a document with all the steps involving in
the patching process and the pre-requisite patches will be applied before the initial patch.
e) assure that the PLATFORM variable environment (under UNIX, Linux, Solaris) is set
f) Shut down APPS services. The database services and the listener must be up and running.
h) Start AutoPatch in interactive mode. this task must be done from the directory where the patch
driver is/was unzipped. Also, respond to the adpatch prompts. If there are more drivers to apply (there
is no unified drive: there could be a database (d), copy (c) or generate (g) drive) restart the adpatch and
apply the other patches.
i) Review the log files. By default, the location is $APPL_TOP/admin/<SID>/log and the file
is adpatch.log.
j) Review the customizations (if any). If a customization was modified by this patch, the customization
must be applied again.
2. How could I test the impact of the patch on the APPS environment ?
AutoPatch must be run in test mode (apply=no). The APPS services must be stopped and the
Maintenance Mode must be enabled as well. To see which is the impact on the system, you can
use Patch Impact Analysis in the Patch Wizard.
3. May I apply a patch if the APPS services are running and the Maintenance Mode is not enabled ?
If this is possible the README.txt will let you know. If the patch README.txt file will not state this
explicitly, that means you have to stop the APPS processes and to enable the Maintenance Mode. The
help files can always be applied without stopping the APPS services.
If a patch can be applied without stopping the APPS services we have to use the option hotpatch.
A non-standard patch is a regular patch (with a similar structure as a standard patch), but the naming is
not standard (the naming of the driver file).
A standard patch is
named u<patchnum>.drv, c<patchnum>.drv, d<patchnum>.drv or g<patchnum>.drv. The <patchnum>
has 6-8 digits
Instead of responding to the adpatch prompts, you can create a file which keeps the adpatch
responses. In this case you don't have to asnswer to the adpatch prompt and because of this
the down time is smaller.
This could be done by running the AutoPatch in interactive mode using the defaultsfile = <file
name> argument. When AutoPatch ask you for the location of the patch
type abort and <ENTER>.
Example:
$ adpatch defaultsfile=$APPL_TOP/admin/VIS/mydefaults.txt
Version 11.5.0
NOTE: You may not use this utility for custom development
unless you have written permission from Oracle Corporation.
Attention: AutoPatch no longer checks for unapplied pre-requisite patches.
You must use OAM Patch Wizard for this feature. Alternatively, you can
review the README for pre-requisite information.
Filename [adpatch.log] :
Please enter the name of the Oracle Applications System that this
APPL_TOP belongs to.
Example 2: If you don't have forms files installed in this area, you cannot
generate them or run them from this APPL_TOP.
Example 3: If you don't have concurrent program files installed in this area,
you cannot relink concurrent programs or generate reports from this APPL_TOP.
Do you currently have files used for installing or upgrading the database
installed in this APPL_TOP [YES] ? YES *
Do you currently have Java and HTML files for HTML-based functionality
installed in this APPL_TOP [YES] ? YES *
Do you currently have Oracle Applications forms files installed
in this APPL_TOP [YES] ? YES *
Please enter the name Oracle Applications will use to identify this APPL_TOP.
The APPL_TOP name you select must be unique within an Oracle Applications
System, must be from 1 to 30 characters long, may only contain
alphanumeric and underscore characters, and must start with a letter.
**************** S T A R T O F U P L O A D ****************
%%START_OF_VALUE%%
/APPS/visappl
%%END_OF_VALUE%%
## End of Defaults Record
%%START_OF_VALUE%%
VIS
%%END_OF_VALUE%%
## End of Defaults Record
%%START_OF_VALUE%%
Yes
%%END_OF_VALUE%%
## End of Defaults Record
%%START_OF_VALUE%%
adpatch.log
%%END_OF_VALUE%%
## End of Defaults Record
%%START_OF_VALUE%%
No
%%END_OF_VALUE%%
## End of Defaults Record
%%START_OF_VALUE%%
1000
%%END_OF_VALUE%%
## End of Defaults Record
%%START_OF_VALUE%%
/APPS/visora/8.0.6
%%END_OF_VALUE%%
## End of Defaults Record
%%START_OF_VALUE%%
Yes
%%END_OF_VALUE%%
## End of Defaults Record
%%START_OF_VALUE%%
manager
%%END_OF_VALUE%%
## End of Defaults Record
%%START_OF_VALUE%%
APPLSYS
%%END_OF_VALUE%%
## End of Defaults Record
%%START_OF_VALUE%%
APPS
%%END_OF_VALUE%%
## End of Defaults Record
interactive=no
Note: if driver parameter is not specified, all the drivers will be applied.
Example:
$ adpatch defaultsfile=$APPL_TOP/admin/VIS/mydefaults.txt \
patchtop=/home/oracle/Desktop/PATCH_TOP/6012471 \
logfile=6012471.log \
driver=u6012471.drv \
workers=4 \
interactive=no
When the error is fixed the session must be restarted. this must be done using the same
command and another new argument restart=yes:
$ adpatch defaultsfile=$APPL_TOP/admin/VIS/mydefaults.txt \
patchtop=/home/oracle/Desktop/PATCH_TOP/6012471 \
logfile=6012471.log \
driver=u6012471.drv \
workers=4 \
interactive=no \
restart=yes
If you have an error with a NON-interactive patch and you want to abandon that session (you
will never be able to restart that session in this case) in order to apply another patch NON-
interactively you have to add abandon=yes to the new adpatch command:
Example:
$ adpatch defaultsfile=$APPL_TOP/admin/VIS/mydefaults.txt \
patchtop=/home/oracle/Desktop/PATCH_TOP/6132763 \
logfile=6132763.log \
driver=u6132763.drv \
workers=4 \
interactive=no \
abandon=yes
Merge Patches in Oracle eBusiness Suite 11i:
1. Why Merging patches ?
Merging patches allows us to create a merged patch which contains all the
changes found in the patches which will be merged. This decrease the
downtime for patching.
2. How could I merge patches ?
b) Review the readme files: Not all the patches can be merged. Also, some
patches require manual steps.
Copying files...
100% complete. Copied 14 files of 6...
2 unified drivers merged.
Patch merge completed successfully
f) Check AD Merge Patch log file (admrgpch.log or the named one) for
errors
NOTES:
A merged patch is applied just like a single patch (using adpatch).
The manifest option could be used to let Oracle unzip the zip files during
the merging process.
3. Can I merge patches even though some of the patch readmes say that
patches must be applied in a specific order?
Yes
When a patch will be applied on the system, Patch Impact Analysis could
produce a report with the files which will be added, modified or ignored
due to this patch. You can view also the prerequisite patches for that
patch.
From this page there are 2 way to get a Patch Impact Analysis:
A) From the "Result Section" choose a "Filter Name/ Patch List" and click
on "Details" icon.
The following window will appear:
For a specific product (for instance for AD product) we can run the following select:
no rows selected
If there are no rows selected that means the patch is not applied.