APPLIES TO:
Oracle Weblogic Server - Version 8.1 to 8.1 Information in this document applies to any platform.
PURPOSE
How to apply Weblogic Server patches on 8.1 installations.
QUESTIONS AND ANSWERS
On Weblogic Server 8.1, patches can applied using the following steps:
- Extract the jar file from the patch, which will be in the format CRxxxxxx_810sp6.jar OR bugxxxxxx_810sp6.jar.
- Save the jar file you extracted to the file system and note its location.
- Open the start script for the server (on Windows, startWebLogic.cmd; on UNIX, startWebLogic.sh).
- Locate the CLASSPATH declaration, which looks something like this:
CLASSPATH=$WL_HOME:$WL_HOME/lib/weblogic_sp.jar:$WL_HOME/lib/weblogic.jar
(UNIX) OR
set CLASSPATH=%WEBLOGIC_CLASSPATH%;%POINTBASE_CLASSPATH%;%JAVA_HOME%\jre\lib\rt.jar;%WL_HOME%\server\lib\webservices.jar;%CLASSPATH%
(Windows).
- Edit the CLASSPATH declaration by adding the fully qualified patch file name to the front of the declaration. For example, in Windows:
- Save the patch file, CRxxxxxx_810sp6.jar, to C:\bea\weblogic81\patches\.
- Then edit the start script as follows:
set PATCH_PATH=C:\bea\weblogic81\patches\CRxxxxxx_810sp6.jar set CLASSPATH=%PATCH_PATH%;%WEBLOGIC_CLASSPATH%;%POINTBASE_CLASSPATH%;%JAVA_HOME%\jre\lib\rt.jar;%WL_HOME%\server\lib\webservices.jar;%CLASSPATH%
In UNIX, use UNIX syntax and delimiters:
- Save the patch file, CRxxxxxx_810sp6.jar, to /opt/bea/weblogic81/patches/.
- Then edit the start script as follows:
PATCH_PATH=/opt/bea/weblogic81/patches/CRxxxxxx_810sp6.jar CLASSPATH=$PATCH_PATH:$WL_HOME:$WL_HOME/lib/weblogic_sp.jar:$WL_HOME/lib/weblogic.jar
- Repeat the above steps for each managed server where the patch should be applied.
- Restart the server.
|