Installation Guide
Uninstalling the Software
The following sections provide procedures for uninstalling the software:
About the Uninstallation Program
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 cannot 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
uninstaller
directory.
Uninstalling Your Software in Graphical Mode
Use the following procedure to uninstall the complete product installation, or individual components, in graphical mode:
- 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-1.
Table 8-1 Starting the Uninstallation Program in Graphical Mode
To start the uninstallation program on this platform . . .
|
Perform the following steps . . .
|
Windows
|
1. From the Windows Start menu, choose Start—>Programs—>BEA Products—>Uninstall BEA Products.
The BEA Products Uninstaller Welcome window is displayed.
2. Proceed to step 3.
|
UNIX
|
1. Go to the following directory:
WL_HOME /uninstall
Here WL_HOME represents the directory in which you installed your
WebLogic Server software.
2. Enter uninstall.sh at the prompt.
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.
|
- 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. Then click Next. By default, all installed components are selected, indicating that they will be removed.
- 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 Uninstallation Program in Console Mode
To start the uninstallation program on this platform . . .
|
Perform the following steps . . .
|
Windows
|
1. 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\weblogic90 .
2. Enter the following command at the prompt:
uninstall -mode=console
The Welcome text is displayed.
|
UNIX
|
1. Go to the following directory:
WL_HOME /uninstall
Here WL_HOME represents the directory in which you installed
WebLogic Server.
2. At the prompt, enter the following command:
sh uninstall.sh -mode=console
The Welcome text is displayed.
|
- 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 panel is displayed.
- Select the components you want to uninstall. The available components are displayed as follows:
Check the BEA Products components you want to uninstall.
Release 9.0.0.0
+----WebLogic Server [1] v
¦ +----Server [1.1] v
¦ +----Server Examples [1.2] v
| +----Web Server Plug-Ins [1.3] v
+----AquaLogic Service Bus [2] v
| +----Service Bus Server [2.1] v
| +----Data Transformation Tools [2.2] v
| +----Service Bus Examples [2.3] v
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.
Note: If you installed your software using the WebLogic Server installer, 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. The Server Examples and the Web Server Plug-ins will be uninstalled.
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.
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 GUI and console modes, including:
- The BEA Home directory, including the
logs
and utils
subdirectories
- The Java 2 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 Uninstallation Program in Silent Mode
To start the uninstallation program on this platform . . .
|
Perform the following steps . . .
|
Windows
|
1. 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\weblogic90.
2. Enter the following command at the prompt:
uninstall -mode=silent
|
UNIX
|
1. Go to the following directory:
WL_HOME /uninstall
Here WL_HOME represents the directory in which you installed
WebLogic Server.
2. At the prompt, enter the following command:
sh uninstall.sh -mode=silent
|
Notes: 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.
You can also include the -log=
full_path_to_log_file
option in the command line to create a verbose installation log. For example:
uninstall -mode=silent -log=C:\logs\weblogic_uninstall.log
For more information, see Generating a Verbose Installation Log.
Uninstalling the BEA JRockit Public JRE
You can uninstall the JRockit public JRE as described in the following table.
To uninstall the BEA JRockit JRE . . .
|
Perform the following steps . . .
|
From the Windows Start Menu
|
1. Choose Start—>BEA JRockit(R) JRE 5.0 Update 3 (R25.2.0)—>Uninstall BEA JRockit(R) JRE 5.0 Update 3 (R25.2.0)
The BEA Uninstaller window is displayed.
2. Click OK in the Uninstaller window.
|
From the command line
Note: The uninstallation program is invoked in graphical mode. You cannot uninstall the JRE in console mode at this time.
|
1. From any directory, execute the following command:
%systemroot%\Installer\BEA\JRockit_JRE_1.
5.0_ version \uninstall.exe
Here, version is the version number of the installed JRE,
for example, JRockit_JRE_1.5.0_03 .
Note: If you want to create an uninstall log, add the option -log=C:\uninstall.log at the end of the command line.
The BEA Uninstaller window is displayed.
2. Click OK.
|
From the command line, in silent mode
|
From any directory, execute the following command:
C:\Windows\Installer\BEA\JRockit_JRE_1.5.0_ version \uninstall.exe -silent
Here, version is the version number of the installed JRE, for example, JRockit_JRE_1.5.0_03 .
Note: If you want to create an uninstall log, add the option -log=C:\uninstall.log at the end of the command line.
No prompts or windows are displayed.
|
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:
Then reinstall the software as described in Starting the Installation Program.