Saturday, May 25, 2013
How to apply a Patch in Oracle Weblogic Server ?
In this post we will see how to apply a Patch in Oracle Weblogic Server.To know more about how to do it ,just keep on reading !!
Again it’s also a five step process.
1] Download Patch from oracle support site.
2] Copy that patch.jar to Local server Machine(/optional/Oracle/Middleware/utils/bsu/cache_dir/)
3] Backup WEBLOGIC_HOME
4] Start patch activity using bsu installer (./bsu.sh -prod_dir=/optional/Oracle/Middleware/wlserver_10.3 -patchlaist=UKZX -verbose -install)
5] Verification
Download Patch from oracle support site:
[thiru@localhost Upgrade]$ unzip p14629058_1036_Generic.zip
Archive: p14629058_1036_Generic.zip
inflating: patch-catalog_18835.xml
inflating: README.txt
inflating: UKZX.jar
Copy that UKZX.jar to Local server Machine(/optional/Oracle/Middleware/utils/bsu/cache_dir/):
[thiru@localhost grd]$ cd /optional/Oracle/Middleware/utils/bsu/cache_dir/
[thiru@localhost cache_dir]$ ll
total 18160
-rw-r--r-- 1 thiru thiru 9268750 May 22 07:01 patch-catalog_18835.xml
-rw-r--r-- 1 thiru thiru 9268750 May 22 07:12 patch-catalog.xml
-rw-r--r-- 1 thiru thiru 24328 May 22 07:01 UKZX.jar
Start patch activity using bsu installer:
[thiru@localhost bsu]$ ./bsu.sh -prod_dir=/optional/Oracle/Middleware/wlserver_10.3 -patchlist=UKZX -verbose -install
Checking for conflicts..
No conflict(s) detected
Starting installation of Patch ID: UKZX
Installing /optional/Oracle/Middleware/utils/bsu/cache_dir/UKZX.jar
Extracting /optional/Oracle/Middleware/patch_wls1036/patch_jars/BUG14629058_1036.jar
Updating /optional/Oracle/Middleware/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar
Old manifest value: Class-Path=
New manifest value: Class-Path=../../../patch_jars/BUG14629058_1036.jar
Result: Success
Verification:
[thiru@localhost bsu]$ ./bsu.sh -prod_dir=/optional/Oracle/Middleware/wlserver_10.3 -view -status=applied
ProductName: WebLogic Server
ProductVersion: 10.3 MP6
Components: WebLogic Server/Core Application Server,WebLogic Server/Admi
nistration Console,WebLogic Server/Configuration Wizard and
Upgrade Framework,WebLogic Server/Web 2.0 HTTP Pub-Sub Serve
r,WebLogic Server/WebLogic SCA,WebLogic Server/WebLogic JDBC
Drivers,WebLogic Server/Third Party JDBC Drivers,WebLogic S
erver/WebLogic Server Clients,WebLogic Server/WebLogic Web S
erver Plugins,WebLogic Server/UDDI and Xquery Support,WebLog
ic Server/Evaluation Database,WebLogic Server/Workshop Code
Completion Support
BEAHome: /optional/Oracle/Middleware
ProductHome: /optional/Oracle/Middleware/wlserver_10.3
PatchSystemDir: /optional/Oracle/Middleware/utils/bsu
PatchDir: /optional/Oracle/Middleware/patch_wls1036
Profile: Default
DownloadDir: /optional//Oracle/Middleware/utils/bsu/cache_dir
JavaVersion: 1.6.0_29
JavaVendor: Sun
Patch ID: UKZX (14629058)
Patch Installation Report:
[thiru@localhost bsu]$ ./bsu.sh -report
Patch Report
============
Profile................... Default
Patch ID.................. UKZX
CR(s)..................... 14629058
Description............... STRESS: REGRESSION:CONNECTION LEAK DURNIG TRANSACTION ROLLBACK IN LONGEVITY TEST
STRESS: REGRESSION:CONNECTION LEAK DURNIG TRANSACTION ROLLBACK IN LONGEVITY TEST
Classpath
Classpath type............ SYSTEM
Classpath control jar..... weblogic_patch.jar
Jar....................... BUG14629058_1036.jar
File...................... META-INF/MANIFEST.MF
File...................... weblogic/jdbc/wrapper/TxInfo.class
File...................... weblogic/jdbc/jta/DataSource.class
That’s it!! Leave a reply, if you have any doubts regarding this topic!!
Hi if I have horizontal clustered enviroment of a Domain .
ReplyDeleteThen should i apply the above patch process in all machines hosting my managed servers?