# Weblogic Environment
export
MW_HOME=/u01/app/oracle/product/middleware
export WLS_HOME=$MW_HOME/wlserver_10.3
export WL_HOME=$WLS_HOME
export
JAVA_HOME=/u01/app/oracle/jrockit-jdk1.6.0_45-R28.2.7-4.1.0
export PATH=$JAVA_HOME/bin:$PATH
Applying Patch Set
Updates (PSUs)The patch set updates (PSUs) come with a "README.txt" file
that explains how to apply the patches. You should always follow the patch
note, but the basic format is typically as follows.Unzip the patch into the correct location.
[oracle@XXXXXXX tmp]$ mkdir -p
$MW_HOME/utils/bsu/cache_dir
[oracle@XXXXXXX tmp]$ cd
$MW_HOME/utils/bsu/cache_dir
[oracle@XXXXXXX cache_dir]$ ll
-rw-r--r--. 1 oracle oinstall 91259809
Aug 23 09:28 p23094342_1036_Generic.zip
[oracle@XXXXXXX cache_dir]$ unzip
p23094342_1036_Generic.zip
Archive: p23094342_1036_Generic.zip
inflating: patch-catalog_24122.xml
inflating: UIAL.jar
inflating: README.txt
[oracle@XXXXXXX
cache_dir]$Apply the patch.
$ cd $MW_HOME/utils/bsu
$ [oracle@XXXXXXX bsu]$ ./bsu.sh
-install -patch_download_dir=$MW_HOME/utils/bsu/cache_dir -patchlist=UIAL
-prod_dir=$WLS_HOME -log=/tmp/weblogic_patching.log
Exception
in thread "Main Thread" java.lang.OutOfMemoryError
Solution : Edit the bsu.cmd and
increase the JVM to something like below.
-Xms1024m –Xmx2048m
[oracle@XXXXXXX bsu]$ ./bsu.sh -install
-patch_download_dir=$MW_HOME/utils/bsu/cache_dir -patchlist=UIAL
-prod_dir=$WLS_HOME -log=/tmp/weblogic_patching.log
Checking for conflicts...
No conflict(s) detected
Installing Patch ID: UIAL..
Result: Success
If you get conflicts, you may have to remove
previous patches, before attempting to apply the patch again.
[root@xxxxxxxxx bsu]#./bsu.sh -install -patch_download_dir=/u01/app/oracle/Middleware/utils/bsu/cache_dir -patchlist=UIAL -prod_dir=/u01/app/oracle/Middleware/wlserver_10.3/ -log=/tmp/weblogic_patching.log
Checking for conflicts......
Conflict(s) detected - resolve conflict condition and execute patch installation again
Conflict condition details follow:
Patch UIAL is mutually exclusive and cannot coexist with patch(es): SRUM,6D9T
[root@xxxxxxxx bsu]# ./bsu.sh -remove -patchlist=SRUM -prod_dir=/u01/app/oracle/Middleware/wlserver_10.3/
Checking for conflicts......
No conflict(s) detected
Removing Patch ID: SRUM.
Result: Success
[root@xxxxxxxxx bsu]# ./bsu.sh -remove -patchlist=6D9T -prod_dir=/u01/app/oracle/Middleware/wlserver_10.3/
Checking for conflicts......
No conflict(s) detected
Removing Patch ID: 6D9T.
Result: Success
[root@xxxxxxxxx bsu]# ./bsu.sh -install -patch_download_dir=/u01/app/oracle/Middleware/utils/bsu/cache_dir -patchlist=UIAL -prod_dir=/u01/app/oracle/Middleware/wlserver_10.3/ -log=/tmp/weblogic_patching.log
Checking for conflicts......
No conflict(s) detected
Installing Patch ID: UIAL..
Result: Success
Checking for conflicts......
Conflict(s) detected - resolve conflict condition and execute patch installation again
Conflict condition details follow:
Patch UIAL is mutually exclusive and cannot coexist with patch(es): SRUM,6D9T
[root@xxxxxxxx bsu]# ./bsu.sh -remove -patchlist=SRUM -prod_dir=/u01/app/oracle/Middleware/wlserver_10.3/
Checking for conflicts......
No conflict(s) detected
Removing Patch ID: SRUM.
Result: Success
[root@xxxxxxxxx bsu]# ./bsu.sh -remove -patchlist=6D9T -prod_dir=/u01/app/oracle/Middleware/wlserver_10.3/
Checking for conflicts......
No conflict(s) detected
Removing Patch ID: 6D9T.
Result: Success
[root@xxxxxxxxx bsu]# ./bsu.sh -install -patch_download_dir=/u01/app/oracle/Middleware/utils/bsu/cache_dir -patchlist=UIAL -prod_dir=/u01/app/oracle/Middleware/wlserver_10.3/ -log=/tmp/weblogic_patching.log
Checking for conflicts......
No conflict(s) detected
Installing Patch ID: UIAL..
Result: Success
After the patch is successfully applied, restart all WebLogic servers.
Check the version.
$ . $WLS_HOME/server/bin/setWLSEnv.sh
$ java weblogic.version
WebLogic Server 10.3.6.0.3 PSU Patch
for BUG14736139 Fri Nov 23 10:16:54 IST 2012
WebLogic Server 10.3.6.0 Tue Nov 15 08:52:36 PST 2011 1441050
Use 'weblogic.version -verbose' to get
subsystem information
Use 'weblogic.utils.Versions' to get
version information for all modules
$
I really appreciate information shared above. It’s of great help. If someone want to learn Online (Virtual) instructor lead live training in Oracle Weblogic Server, kindly contact us http://www.maxmunus.com/contact
ReplyDeleteMaxMunus Offer World Class Virtual Instructor led training on Oracle Weblogic Server. We have industry expert trainer. We provide Training Material and Software Support. MaxMunus has successfully conducted 100000+ trainings in India, USA, UK, Australlia, Switzerland, Qatar, Saudi Arabia, Bangladesh, Bahrain and UAE etc.
For Demo Contact us.
Nitesh Kumar
MaxMunus
E-mail: nitesh@maxmunus.com
Skype id: nitesh_maxmunus
Ph:(+91) 8553912023
http://www.maxmunus.com/
Very well explained on Weblogic patch. Thanks for sharing.
ReplyDelete