How to Patch Weblogic in PeopleTool 8.57
Per Oracle, if you are running PeopleTool 8.57 on Windows, it is recommended that you deploy the latest DPK that comes with all the necessary patches. However, if you just want to patch Weblogic (because...), follow this.- Stop all PIA services and Oracle service
- Ensure you have 7-zip installed (because Windows can't natively handle such long path names that Oracle provides)
- Download the latest Weblogic patch (the latest one contains all the previous patches too)
- Use 7-zip to extract the content
- Go into the content directory and run weblogic's opatch.bat with apply and "-oh" flag to designate Oracle Home directory for this installation. I'll assume Oracle DPK was installed in c:\pt857
c:\pt857\pt\bea\OPatch\opatch.bat apply -oh c:\pt857\pt\bea -silent
- Call same opatch.bat with lsinventory to ensure the patch took
c:\pt857\pt\bea\OPatch\opatch.bat lsinventory -oh c:\pt857\pt\bea
- Here's the whole thing in a bat file
1 2 3 4 5 6 7 8 9 10 11 12
call net stop "ORACLE ProcMGR v12.2.2.0.0_VS2015" call net stop "psDEMO-WebLogicAdmin" call net stop "psDEMO-PIA" aws s3 cp s3://my-repo-name/7zip/7z920.exe c:\temp aws s3 cp s3://my-repo-name/patches/p30386660_122130_Generic.zip c:\temp cd c:\temp call 7z920.exe /S /D="C:\Program Files (x86)\7-Zip" call "C:\Program Files (x86)\7-Zip\7z.exe" x C:\temp\p30386660_122130_Generic.zip call c:\pt857\pt\bea\OPatch\opatch.bat apply -oh c:\pt857\pt\bea -silent call "c:\Program Files (x86)\7-Zip\Uninstall.exe" /S cd c:\pt857\pt\bea\opatch call c:\pt857\pt\bea\opatch\opatch.bat lsinventory -oh c:\pt857\pt\bea
No comments:
Post a Comment