how to check patches applied in weblogic

Here in this post we will see how to check patches applied in weblogic in 10.3.6 version , 12c (12.1.1  and 12.1.2 and later ).

how to check patches applied in weblogic in 10.3.6 version and up to 12.1.1

Weblogic Smart Update utility (bsu)  is used to apply patches in 10.3.6 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

Now how to check patches applied in weblogic in 10.3.6

For Unix

cd $MW_HOME/utils/bsu/ -prod_dir=$MW_HOME\wlserver_10.3 -status=applied -verbose -view

For windows

bsu.cmd -prod_dir=$MW_HOME\wlserver_10.3 -status=applied -verbose -view

Another simple way to determine the application of WebLogic Server PSU.

For Unix

$ . $WL_HOME/server/bin/
$ java weblogic.version

For windows

java weblogic.version

In the following example output, is the installed WebLogic Server PSU.

WebLogic Server PSU Patch for BUG29204678

java weblogic.version -verbose can give more output

If you receive below error while checking 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(
at java.lang.Class.getMethod0(

Following steps can be used

Increase the heap size to allow more memory and prevent an eventual “java.lang.OutOfMemoryError: GC overhead limit exceeded” error:

Go to $WL_HOME/utils/bsu
Prepare to edit the (for UNIX) or bsu.cmd (for Windows)
Find the MEM_ARGS setting, e.g., the default as MEM_ARGS="-Xms256m -Xmx512m"
Increase 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 $*

how to check patches applied in weblogic in Weblogic 12.1.2 and later

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

On Unix:

cd $MW_HOME/OPatch
./opatch lsinventory

On Windows:

cd %MW_HOME%/OPatch
opatch lsinventory

Apart from checking from these command given above, weblogic version and patches applied can be found from admin console startup log also.

Hope you like the post and it helps you

Related Articles

Weblogic Administration Console

How to start/stop Node manager and Managed server in Weblogic

40 Important Weblogic Interview questions

Oracle Weblogic server

Middleware Home and WebLogic Server Home Directories

Leave a Reply