Monday, September 27, 2010

How to install & get list of AIA patches

To get list of all the patches installed in Oracle Application Server (10g release), you can run following command to get all patches:

To list patches installed in Oracle Home
set ORACLE_HOME=
cd $ORACLE_HOME/OPatch
opatch lsinventory

For AIA, there is separate OPATCH to install and to get list of patches. Here are the steps:
  • Download latest version of AIA Opatch from metalink (p5912518_111000_GENERIC.zip)
  • Set following homes
export ORACLE_HOME= (e.g. /home/oracle/product/10.1.3.1/OracleAS_1)
export AIA_HOME= (e.g. /home/oracle/aiahome )
export SOA_HOME= (e.g. /home/oracle/product/10.1.3.1/OracleAS_1)
export PATH= (e.g. /home/oracle/5912518/OPatch:$PATH)

Note: Make sure AIA Opatch is in the path and it is the first entry or prior to any other OPATCH entry.

Now you can run following command to get list of AIA patch or install AIA patch

List of AIA patch
  • opatch lsinventory -invPtrLoc $AIA_HOME/oraInst.loc -oh $AIA_HOME -jre $SOA_HOME/jdk/jre

Install AIA patch
  • Go to the directory where patch is unzipped and run:
  • opatch apply -invPtrLoc $AIA_HOME/oraInst.loc -oh $AIA_HOME -jre $SOA_HOME/jdk/jre

No comments: