banner



How To Apply Patch In Weblogic 12c On Windows

Here in this post nosotros volition see weblogic patching i.e how to apply patches practical in weblogic in 10.3.6 version , 12c (12.1.one  and 12.1.2 and subsequently ).

how to utilise patches in weblogic in x.3.6 version and upwards to 12.1.one

Weblogic Smart Update utility (bsu)  is used to employ patches in 10.3.half dozen and 12.1.1 version of weblogic.

Weblogic Smart Update utility (bsu) lies in $MW_HOME/utils/bsu/

BSU Utility stands for BEA Smart update utility

At present how to apply patches in weblogic in 10.3.six
0. cease the weblogic server

1.Showtime unzip  the patch to {MW_HOME}/utils/bsu/cache_dir

Notation: You must make sure that the target directory for unzip has required write and executable permissions
for "user" with which the component beingness patched is installed.

Annotation downwards the patch ID by reading the read me

Description: ============ Oracle WebLogic Sever overlay patch for 10.three.half-dozen.0.190416 which requires WLS 10.3.half dozen.0.190416 PSU (Patch Number: 29204678 , Patch ID :U5I2) in the surround          

2.Navigate to the {MW_HOME}/utils/bsu directory.

For Unix/Linux

bsu.sh -install -patch_download_dir=${MW_HOME}/utils/bsu/cache_dir -patchlist=<id> -prod_dir=$MW_HOME\wlserver_10.3          

for Windows

bsu.cmd -install -patch_download_dir=${MW_HOME}/utils/bsu/cache_dir -patchlist=<id> -prod_dir=$MW_HOME\wlserver_10.3          
How to apply patches in Oracle weblogic in Linux & windows

iii.If it gives any conflict with any patches already practical in the system , we tin can rollback the conflict the patch as below

For Unix/Linux

bsu.sh -remove -patchlist=<id> -prod_dir=$MW_HOME\wlserver_10.3          

for Windows

bsu.cmd -remove -patchlist=<id> -prod_dir=$MW_HOME\wlserver_10.3          

4.Once the patch is applied successfully, we tin can check for the practical patches using the below article

how to check patches applied in weblogic

5.If you receive below mistake while applying patches with BSU utility

Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Grade.java:2521) at coffee.lang.Course.getMethod0(Form.java:2764)          

Following steps tin can be used

Increase the heap size to allow more memory and prevent an eventual "coffee.lang.OutOfMemoryError: GC overhead limit exceeded" fault:

Go to $WL_HOME/utils/bsu Prepare to edit the bsu.sh (for UNIX) or bsu.cmd (for Windows) Find the MEM_ARGS setting, e.g., the default as MEM_ARGS="-Xms256m -Xmx512m" Increment these values to a higher setting, e.g., MEM_ARGS="-Xms1024m -Xmx1024m"          

Ensure MEM_ARGS are used in bsu script for the patch-client.jar to resolve "java.lang.OutOfMemoryError: Java heap space" error:

Look for the line: "$JAVA_HOME/bin/java" -jar patch-client.jar $*  Change to the following to ensure the MEM_ARGS are passed: "$JAVA_HOME/bin/java" ${MEM_ARGS} -jar patch-client.jar $*          

6.Start the weblogic Server

How to increment the patch application Performance

In instance patch application is taking lot of fourth dimension, we can do two things

1.We tin can upgrade to latest BEA Smart utility
Steps
a. Ensure yous are on WebLogic Server x.3.6

b. Ensure y'all have applied previously released Smart Update 3.3.0

Patch 12426828 SMARTUPDATE 3.iii INSTALLER PLACEHOLDER

This is for 10.3.vi even though it says 10.iii.5, (which was when it was initially released)
When you lot launch BSU, information technology will display the version when information technology is loading. If the server has internet access, then yous should be given the option to update Smart Update when y'all run the tool.
You may also run the post-obit command:

%WL_HOME%\utils\bsu\bin\bsu.cmd -version (for Windows) $WL_HOME/utils/bsu/bin/bsu/bsu.sh -version (for Unix/Linux)          

two.Older PSU's that are no longer in employ may be deleted from the bsu cache_dir. This tin further speed up some processing.

iii.Y'all can effort increasing the memory human foot print

Go to $FMW_Home/utils/bsu.
Edit bsu.sh (for UNIX) or bsu.cmd (for Windows).
Here you volition find the post-obit: MEM_ARGS="-Xms256m -Xmx512m"
Increase these values every bit needed to 3 Gb or 4 Gb and boosted GCOverheadLimit parameter: for example, to

"-Xms3072m -Xmx3072m -XX:-UseGCOverheadLimit" or "-Xms4098m -Xmx4098m -Xx:-UseGCOverheadLimit"          

how to utilise weblogic patches in Weblogic 12.1.2 and later

BSU Utility is deprecated in 12.1.2 . Nosotros utilise opatch to patch the weblogic installation

On Unix/linux

cd $MW_HOME/OPatch ./opatch apply          

On Windows:

cd %MW_HOME%/OPatch opatch employ          

How to Rollback patches from Weblogic in 10.3.6 version and upwardly to 12.i.1

  1. Finish the spider web logic server
  2. Navigate to the {MW_HOME}/utils/bsu directory.
  3.  Rollback the patch using below commandFor Unix
    bsu.sh -remove -patchlist=<id> -prod_dir=$MW_HOME\wlserver_10.3              
    for Windows
    bsu.cmd -remove -patchlist=<id> -prod_dir=$MW_HOME\wlserver_10.iii              

    4. Once the patch is applied successfully, nosotros tin bank check for the applied patches using the below article

    how to check patches applied in weblogic

    5.  Start the weblogic server

How to Rollback patches from Weblogic in 12.1.1 after

BSU Utility is deprecated in 12.1.ii . We use opatch to patch the weblogic installation

On Unix/Linux

cd $MW_HOME/OPatch ./opatch rollback -id          

On Windows:

cd %MW_HOME%/OPatch opatch rollback -id

I hope you like this post on weblogic patching and these steps are helpful for your administration in weblogic server. Please do let me know if you discover whatever difficulty on how to utilize weblogic patch in Linux or applying patches in window

Related Articles

Weblogic Administration Console
Changing the Oracle WebLogic Server Assistants User Password in R12.2
How to start/terminate Node manager and Managed server in Weblogic
How to create the weblogic Domain
How to perform weblogic Installation

Source: https://techgoeasy.com/how-to-apply-patches-in-oracle-weblogic-in-linux-windows/

Posted by: mcdowellwhoustoll.blogspot.com

0 Response to "How To Apply Patch In Weblogic 12c On Windows"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel