Skip Headers
Oracle® Fusion Middleware Installation Guide for Oracle WebLogic Server
12c Release 1 (12.1.1)

Part Number E24492-04
Go to Documentation Home
Home
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

7 Uninstalling the Software

This chapter describes how to uninstall or reinstall WebLogic Server, and how to revert to a previous WebLogic Server installation.

It includes the following sections:

Uninstalling the Software

The following sections describe how to uninstall your software or individual components on Windows and UNIX systems. You can uninstall the software using graphical, console, or silent mode.

You can uninstall individual components of your product distribution, or the entire installation. Dependency checking in the uninstall program ensures that the appropriate components are uninstalled.

The uninstall program does not remove the home directory associated with the installation, the JDK, or any user-created WebLogic domains. Only the components that were installed by the installation program can be removed. If you choose to uninstall the entire product, the uninstallation program also removes the product directory associated with the installation unless any of the following is true:

Uninstalling Your Software in Graphical Mode

To run the uninstall program in graphical-mode, 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.

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 uninstall program as described in Table 7-1.

    Table 7-1 Starting the Uninstall Program in Graphical Mode

    Platform Procedure

    Windows

    Choose Start > Programs > Oracle WebLogic > Uninstall Oracle WebLogic.

    The Oracle Uninstaller Welcome screen is displayed.

    UNIX

    1. Go to the following directory:

      MW_HOME\utils\uninstall

      where MW_HOME represents the Middleware home directory in which you installed the product you are uninstalling.

    2. Enter uninstall.sh at the prompt.

      The Oracle Uninstaller Welcome screen is displayed.

    Note: If your system supports a graphical user interface, the uninstall program starts in graphical mode. If your system does not support a graphical user interface, the uninstall 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 screen is displayed.

  4. Select the components to uninstall by selecting or clearing the appropriate check boxes, By default, all installed components are selected, indicating that they will be removed.

  5. After selecting the components to uninstall, click Next.

    Caution:

    Once you click Next, you cannot abort the uninstallation process.

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

  7. Click Done in the Uninstalling Oracle Products screen 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 are configured as a Windows service, you should stop the service(s) before uninstalling the software.

  2. Start the uninstall program as described in Table 7-2.

    Table 7-2 Starting the Uninstall Program in Console Mode

    Platform Procedure

    Windows

    1. Open a command prompt window and go to the following directory:

      MW_HOME\utils\uninstall

      where MW_HOME represents the Middleware home directory in which you installed WebLogic Server.

    2. Enter the following command at the prompt:

      uninstall -mode=console 
      

    The Welcome text is displayed.

    UNIX

    1. Go to the following directory:

      MW_HOME/utils/uninstall

      where MW_HOME represents the Middleware home 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.


  3. Enter next or press Enter 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 one-letter shortcuts, x, p, and n, respectively.

    The Choose Products and Components to uninstall prompt is displayed.

  4. Select the components you want to uninstall. By default, all installed components are selected, indicating that they will be removed.

    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. Enter next or press Enter to proceed with the uninstallation process.

    Caution:

    Once you enter next, you cannot abort the uninstallation process.

  6. When the uninstallation process is complete, enter exit or press Enter to complete the uninstallation and exit the uninstallation program.

Uninstalling Your Software in Silent Mode

When you uninstall the software in silent mode, the complete software installation is uninstalled. You cannot uninstall individual components.

When you run the uninstallation program in silent mode, it leaves behind the same files and directories as when you run the uninstall program in graphical and console modes, including:

  • The home directory, including the logs and utils subdirectories

  • The JDK, if it was installed with your product

  • Domain directories, including those in user_projects

  • Any other file that was created or modified after your software was installed.

You can manually delete these files.

Although you can use silent-mode to manually uninstall your software, silent-mode uninstall is intended for use in scripts. You can use the commands in Table 7-3 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, you must stop the service(s) before uninstalling the software.

  2. Start the uninstallation program as described in Table 7-3.

Table 7-3 Starting the Uninstallation Program in Silent Mode

Platform Procedure

Windows

  1. Open a command prompt window and go to the following directory:

    MW_HOME\utils\uninstall

    Here MW_HOME represents the Middleware home directory in which you installed the software.

  2. Enter the following command at the prompt:

    uninstall -mode=silent 
    

UNIX

  1. Go to the following directory:

    MW_HOME\utils\uninstall

    Here MW_HOME represents the Middleware home directory in which you installed the software.

  2. 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 that the uninstallation is in progress or has completed successfully, even if errors are encountered.

You can 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

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 Core Application Server, Administration Console, and Configuration Wizard Upgrade Framework during one installation, and add WebLogic JDBC Drivers and Server Examples during a separate installation.

To reinstall the same version of a product component or an entire product distribution in the same location, you must first uninstall the previous installation.

If you try to install a complete copy of a product in a home directory that contains a complete installation, an error message is displayed. Click OK (or enter OK, if in console mode) to return to the Choose Middleware Home Directory screen (or panel).

At the prompt, choose one of the following options:

Then, install the software as described in one of the following chapters: