I will detail the steps required for patching OAM from 126.96.36.199 to BP03 version. To find out all the OAM patch versions then refer the metalink note 736372.1.
The BP03 patch number is 13473393.
- Stop OAM server and weblogic admin server and any other servers present in that domain.
- Set the ORACLE_HOME env variable to point to OAM (IAM suite)
- To find out the existing OAM version, execute the opatch lsinventory from ORACLE_HOME.
- Goto the location $DOMAIN_HOME/config/fmwconfig/mbeans/oam. Backup the jars mapstore.jar, lifecycle.jar, mapstore-coherence.jar, config.jar.
- Goto the location $DOMAIN_HOME/config/fmwconfig. Backup the RequestResponseXMLSchema.xsd file.
- Unzip patch file p13473393_111150_Generic.zip and goto the extracted folder. It contains etc and files folders.
- Run the opatch command from the extracted patch using command $ORACLE_HOME/OPatch/opatch apply. See the below screenshot.
- It prompts for “Is your local system ready for patching“. Answer Y and enter.
- Wait till you see the message “OPatch succeeded“
- Export DOMAIN_HOME env variable to point to weblogic domain.
- Goto location files /oam/server/scripts/opatch.
- Execute domainAutomation.sh script.
- Goto $DOMAIN_HOME/config/fmwconfig. Take backup of oam-config.xml.
- Start only WebLogic Admin Server and not OAM Server.
- Execute wlst.sh script from $ORACLE_HOME/common/bin.
- Connect to weblogic admin server using connect(‘weblogic’,'password’,'t3://localhost:7001′). Change the weblogic credentials and URL details as per your environment.
- Run the command patchUpgrade(path=”/u01/app/Oracle/Middleware/Oracle_IAM1″). Notice the message that oam-config.xml has been upgraded to new patch level. Refer the below screenshot.
- Restart the WebLogic Admin server.
- Start the OAM Managed server.
- Goto $DOMAIN_HOME/config/fmwconfig and open the oam-config.xml. Goto the end of file and verify the version of PatchLevel as 188.8.131.52.3.