Tuesday, September 8, 2015

Install WebLogic Patch to MetaSolv Solution WebLogic Servers

search for a patch using the Patch Number

  1. Log onto My Oracle Support.
  2. Click on the "Patches & Updates" tab.
  3. Click on "Patch Name or Number".
  4. For the "Patch Name or Number" type in the patch number (for example: 1748XXXX).
  5. Choose the "Platform" and Hit Search.
  6. Click on the Patch Name to bring up the download page.



search for a patch using the Smart Update Patch ID

  1. Log onto My Oracle Support.
  2. Click on the "Patches & Updates" tab.
  3. Click on "Product or Family" (Advanced Search)
  4. For the "Product is" choose Oracle WebLogic Server.
  5. For the "Release is" choose WLS 10.3.
  6. For "Description contains" type in your Smart Update Patch ID (like XXXX).
  7. Hit Search.
  8. Click on the Patch Name to bring up the download page.



Install WebLogic Patch to MetaSolv Solution WebLogic Servers



  1. Extract the contents from the patch zip file downloaded into the ($BEA_HOME/utils/bsu/cache_dir) directory, you will have a jar file and patchcatalog_XXXX.xml.                                                                                                                          
                                                                                                                                                                                                                                           
  2. Copy the files (for example, XXXR.jar) and the patchcatalog_xxx.xml from the zip file to the target machine. You do not need the readme file. 
  3. Run below command for unzip or unzip through other unzip utilities like(winzip, 7zip etc)

./p964XXXX_103100_Generic.zip -d $BEA_HOME/utils/bsu/cache_dir

replace $BEA_HOME/utils/bsu/cache_dir/patch-catalog_XXXX.xml? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
  inflating: $BEA_HOME/utils/bsu/cache_dir/patch-catalog_XXXX.xml
replace $BEA_HOME/utils/bsu/cache_dir/README.txt? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
  inflating: $BEA_HOME/utils/bsu/cache_dir/README.txt
  inflating: $BEA_HOME/utils/bsu/cache_dir/XXXX.jar

Note: Always copy the patchcatalog_xxx.xml file from the downloaded patch to the cache_dir along with the patch itself. Do NOT rename this file. Run the Smart Update with user use to
run WebLogic Server

Now install the patch using Smart Update either in GUI mode following step '1' or Command Line mode following step '2'.

1. Smart Update in graphical (GUI) mode



  1. Run the <BEA_HOME>/utils/bsu/bsu script (bsu.sh for UNIX, bsu.cmd for Windows). This will start the Smart Update GUI.
  2. Look for the patches you copied in the "Downloaded Patches" section at the bottom.
  3. Select the "Apply" button for each patch you want to apply. This will validate the patch and apply it to the whole installation.




2. Smart Update in Command Line mode



  1. Go to directory as below.

    cd $BEA_HOME/utils/bsu

  2. Run below command.

    ./bsu.sh -prod_dir=<weblogic-home> -patch_download_dir=$BEA_HOME/utils/bsu/cache_dir -patchlist=XXXX  -verbose -install

  3. Install multiple patches.

    ./bsu.sh -prod_dir=<weblogic-home> -patch_download_dir=$BEA_HOME/utils/bsu/cache_dir -patchlist=XXXX, XXXX  -verbose -install

  4. In case you want to remove a patch run below command.

    ./bsu.sh -prod_dir=<weblogic-home> -patchlist=XXXX  -verbose -remove
Note: Here XXXX is the name of the jar file in the patch.

Hope above helps you in installing Metasolv patches on your environment, please leave your feedback or query.

No comments:

Post a Comment