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 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 Java-based GUIs. If the uninstallation program determines that your system cannot support Java-based GUIs, 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 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:

 


Uninstalling Your Software in Graphical Mode

Use the following procedure to uninstall the complete product installation, or individual components, in graphical mode:

  1. 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.

  2. 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 > Oracle WebLogic > Uninstall Oracle WebLogic.

      The Oracle Uninstaller Welcome window is displayed.

    2. Proceed to step 3.
    UNIX

    1. Go to the following directory:

      BEA_HOME/utils/uninstall

      Here BEA_HOME represents the directory in which you have installed your software.

    2. Enter uninstall.sh at the prompt.

      The Oracle Uninstaller Welcome window is displayed.

    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.

  3. Click Next to start the uninstall program.

    The Choose Components window is displayed.

  4. 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.

  5. Optionally, click Details to view the log file that lists the uninstalled components.

  6. Click Done in the Uninstalling Oracle 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:

  1. 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.

  2. 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:

      BEA_HOME\utils\uninstall

      Here BEA_HOME represents the directory in which you have installed your software.

    2. Enter the following command at the prompt:

      uninstall -mode=console

      The Welcome text is displayed.

    UNIX

    1. Go to the following directory:

      BEA_HOME/utils/uninstall

      Here BEA_HOME represents the directory in which you have installed your software.

    2. At the prompt, enter the following command:

      sh uninstall.sh -mode=console

      The Welcome text is displayed.

  3. Press Enter or type next to proceed to the next panel of the uninstallation program.

    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.

  4. Select the components you want to uninstall.

    By default, all installed components are selected, indicating that they will be removed.

    If you have installed your software using the installation program for WebLogic Server, only the WebLogic Server components are displayed.

    To leave a component installed on your system, enter the numeric code for that component on the command line, exactly as it appears within the brackets.

    Dependency checking is performed to ensure that you do not uninstall a component that is required by another component.

  5. Press Enter or type next to proceed with the uninstallation process.

  6. 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 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 graphical and console modes, including:

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 follow the steps in Table 8-3 for use in scripts.

Use the following procedure to uninstall your Products software in silent mode:

  1. Shut down any servers that are running. If you configured any of the servers as a Windows service, stop the service(s) before uninstalling the software.

  2. 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:

      BEA_HOME\utils\uninstall

      Here BEA_HOME represents the directory in which you have installed your software.

    2. Enter the following command at the prompt:

      uninstall -mode=silent

    UNIX

    1. Go to the following directory:

      BEA_HOME/utils/uninstall

      Here BEA_HOME represents the directory in which you have installed your software.

    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.

Note: You can include the -log=full_path_to_log_file option in the command line to create a verbose installation log. For example:

Note: uninstall -mode=silent -log=C:\logs\weblogic_uninstall.log

 


Reinstalling Your Software

You cannot reinstall the same version of a product on top of a previously installed version of the same product—in the same home directory or in the same file location. However, you can add products and product components to an existing installation. For example, you can install WebLogic Server during one installation, and Workshop for WebLogic during a separate installation.

To reinstall the same version of one of the product components or the entire products distribution in the same location, first uninstall the previous installation.

If you try to install a complete copy of a product in a 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:

Then reinstall the software as described in Starting the Installation Program.