The following sections describe how to uninstall your BEA software on Windows and UNIX systems. You can uninstall the software using graphical, console, or silent mode. To run the graphical-mode uninstallation program, your console must support a Java-based GUI. If the uninstallation program determines that your system does not support a Java-based GUI, it automatically starts running in console mode.
You can uninstall individual components of your product distribution, or the entire installation. Dependency checking in the uninstaller ensures that the appropriate components are uninstalled.
The uninstallation program does not remove the BEA Home directory associated with the installation, the JDK, or any user-created domains. Only the components that were installed by the installation program can be removed. If you choose to uninstall the entire installation, the uninstallation program also removes the product directory associated with the installation unless one of the following is true:
The product directory contains user-created configuration or application files—the uninstallation program does not delete user-created configuration files, application files, or domains.
The complete installation was not uninstalled. If an individual component is uninstalled, only the installation directory for that component is removed; the installation directories for other components are unaffected.
The uninstallation program was invoked from within the product directory structure—specifically, from within the weblogic92directory.
Uninstalling Service Packs and Rolling Patches
If you have installed a service pack or rolling patch, you can revert your system installation to an earlier version of the release as follows:
You can revert to the prior service pack installation on your system. For example, if you first install WebLogic Platform 8.1, and then install Service Pack 2 (SP2), you can later revert to WebLogic Platform 8.1.
You can revert a rolling patch upgrade to the service pack on which the rolling patch is based. (Rolling patches are cumulative: each rolling patch replaces all earlier rolling patches on a particular service pack base.) For example, if you first install WebLogic Platform 8.1 SP2, and then install rolling patches 1 and 2 (RP1 and RP2), you can later revert to WebLogic Platform 8.1 SP2. You cannot revert to an earlier rolling patch, however.
If you install additional WebLogic Platform components after installing a service pack or rolling patch, you cannot roll back to any previous versions of the product.
Use the following procedure to uninstall the all the product components, or individual components, in graphical mode:
Shut down any servers that are running. If any one of these servers is configured as a Windows service, you should stop the service(s) before uninstalling the software.
Start the uninstallation program as described in Table 8-1.
Table 8-1 Starting the uninstallation program in the Graphical mode
To start the uninstallation program on...
Do this...
Windows
From the Windows Start menu, choose StartPrograms BEA Products Uninstall BEA Products.
The BEA Products Uninstaller Welcome window is displayed.
where, WL_HOME represents the directory in which you installed your WebLogic Server software.
Type uninstall.sh at the prompt and press ENTER.
The BEA Products Uninstaller Welcome window is displayed. proceed to step 3.
Note:
If your system supports a graphical user interface, the uninstallation program starts in graphical mode. If your system does not support a graphical user interface, the uninstallation program starts in console mode. If console mode is started, see Uninstalling Your Software in Console Mode for instructions.
Click Next to start the uninstall program.
The Choose Components window is displayed.
Select the components to uninstall by selecting or clearing the appropriate check boxes, and click Next. By default, all installed components are selected, indicating that they will be uninstalled.
Optionally, click Details to view the log file that lists the uninstalled components.
Click Done in the Uninstalling BEA Products window to exit the uninstallation program.
Uninstalling Your Software in Console Mode
Use the following procedure to uninstall the complete product installation, or individual components, using the command-line interface:
Shut down any servers that are running. If any of these servers is configured as a Windows service, you should stop the service(s) before uninstalling the software.
Start the uninstallation program as described in Table 8-2.
Table 8-2 Starting the Installation Program in the Console Mode
To start the uninstallation program on...
Do this...
Windows
Go to the uninstall directory in the product directory (weblogic92) of the BEA_Home in the command prompt. Type uninstall.cmd and press Enter.
The BEA Products Uninstaller Welcome window is displayed.
where, WL_HOME represents the directory in which you installed your WebLogic Server software.
Type uninstall.sh at the prompt and press enter.Proceed to step 3
The BEA Products Uninstaller Welcome window is displayed.
Note:
If your system supports a graphical user interface, the uninstallation program starts in graphical mode. If your system does not support a graphical user interface, the uninstallation program starts in console mode. If console mode is started, see Uninstalling Your Software in Console Mode for instructions.
Press Enter or type next to proceed to the next panel of the uninstallation program.
Note:
Instead of typing complete words when you want to enter [Exit], [Previous], and [Next], you can use the following one-letter shortcuts: x, p, and n, respectively.
The Choose Components to uninstall pane is displayed.
Select the components you want to uninstall. The available components are displayed as follows:
Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]>
By default, all installed components are selected, indicating that they will be removed. If you installed your software using the BEA Products installation program for BEA WebLogic Server, only the WebLogic Server components are displayed. To leave a component installed on your system, type the numeric code for that component on the command line, exactly as it appears within the brackets. For example, to uninstall only the Server Examples and the Web Server Plug-ins, and keep the Server installed on your system, enter 1.1 on the command line. The check mark (Windows systems) or x (UNIX systems) beside the entry for Server is cleared, indicating that it will not be uninstalled. Choose the components you want to uninstall. Dependency checking is performed to ensure that you do not uninstall a component that is required by another component.
Press Enter or type next to proceed with the uninstallation process.
When the uninstallation process is complete, press Enter or type exit to complete the uninstallation and exit the uninstallation program.
Uninstalling Your Software in Silent Mode
When you uninstall your BEA Products software in silent mode, the complete installation of your software is uninstalled.You cannot use silent-mode uninstallation to roll back to a previous service pack or to uninstall individual WebLogic Platform components.
When you run the uninstallation program in silent mode, it leaves behind the same files and directories as when you run the uninstallation program in graphical and console modes, including:
The BEA Home directory, including the logs and utils subdirectories
The JDK, if it was installed with your BEA product installation
Domain directories, including those in user_projects
Any other file created or modified after your BEA software was installed
You can manually delete these files.
Although you can use silent-mode uninstallation to manually uninstall your software, silent-mode uninstall is intended for use in scripts. You can adapt the steps in Table 8-3 for use in scripts.
Use the following procedure to uninstall your BEA Products software in silent mode:
Shut down any servers that are running. If you configured any of the servers as a Windows service, you must stop the service(s) before uninstalling the software.
Start the uninstallation program as described in Table 8-3.
Table 8-3 Starting the Uninstalling Program in the Silent Mode
To start the uninstallation program on this platform...
Perform the following steps...
Window
Open a Command Prompt window and go to the following directory:
WL_HOME\uninstall
Here WL_HOME represents the directory in which you installed your WebLogic Server software, typically C:\bea\weblogic92.
Execute the following command at the prompt:
uninstall -mode=silent
UNIX
Go to the following directory:
WL_HOME/uninstall
Here WL_HOME represents the directory in which you installed WebLogic Server.
At the prompt, enter the following command:
sh uninstall.sh -mode=silent
Note:
When you run the uninstallation program in silent mode, no messages are displayed indicating the uninstallation is in progress or has completed successfully, even if errors are encountered.
Note:
You can also include the -log=full_path_to_log_file option in the command line to create a verbose installation log. For example:
Uninstalling a Service Pack or Rolling Patch in Graphical Mode
Use the following procedure to uninstall a WebLogic Platform service pack or rolling patch. You can also use Smart Update to uninstall a service pack or rolling patch.
Shut down any servers that are running. If any of these servers is configured as a Windows service, you should stop the service(s) before uninstalling the software.
Start the uninstallation program as described in the Table 8-1. The WebLogic Platform Uninstaller Welcome window is displayed.
Click Next to start the uninstall program. The Select Uninstall Type window is displayed.
Select the service pack to which you want to roll back your system installation, and click Next. A status window displays the progress of the uninstallation. A message is displayed when the rollback is complete.
Click Done in the status window.
Uninstalling a Service Pack or Rolling Patch in Console Mode
Use the following procedure to uninstall a WebLogic Platform service pack or rolling patch. You can also use Smart Update to uninstall a service pack or rolling patch.
Shut down any servers that are running. If any of these servers is configured as a Windows service, you should stop the service(s) before uninstalling the software.
Start the uninstallation program as described in Table 8-2. The Welcome text is displayed.
Press Enter or type next to proceed to the next panel of the uninstallation program. The Uninstall Options is displayed at the prompt.
At the prompt, type the number of the option for the service pack to which you want to roll back your system installation, and press Enter.
Text messages indicate the progress of the uninstallation.
Reinstalling Your Software
You cannot reinstall the same version of any BEA product on top of a previously installed version of the same product—in the same BEA Home directory or in the same file location. You can, however, add products and product components to an existing installation. For example, you can install WebLogic Server during one installation, and AquaLogic Service Bus during a separate installation.
To reinstall the same version of one of the product components or the entire BEA Products distribution in the same location, you must first uninstall the previous installation.
If you try to install a complete copy of the BEA Products software in a BEA Home directory that already contains a complete installation, an error message is displayed. Click or type OK to return to the Choose BEA Home directory prompt.
At the prompt, choose one of the following options:
To continue installing the software using a different BEA Home directory, select an existing BEA Home directory that does not contain a previous installation, or create a new BEA Home directory.
Exit the installation program. If you want to reinstall your BEA Products software in the same BEA Home, you must uninstall the previous installation. You can invoke the uninstall program appropriate for your platform, as described in one of the following sections: