3 Deinstalling Oracle Web Tier

This chapter describes how to remove Oracle Web Tier from your system.

You should always use the instructions provided in this chapter for removing the software. If you try to remove the software manually, you may experience problems when you try to reinstall the software again at a later time. Following the procedures in this chapter will ensure that the software is properly removed. See Section 3.3, "Reinstallation" for more information.

3.1 Deinstallation Options

The Oracle Web Tier deinstaller gives you the following software removal options:

  • Deinstall Oracle Home

    This option removes everything under the Oracle Home from which the deinstaller is started. Be sure that no system components are using the Oracle Home you want to remove.

  • Deinstall ASInstances managed by WebLogic Domain

    This options removes instances of your system components that are managed by a WebLogic domain. This happens if you select Associate Selected Components with WebLogic Domain on the Configure Components Screen. You will need to specify credentials to access your WebLogic domain.

  • Deinstall Unmanaged ASInstances

    This option removes instances of your system components not associated with a WebLogic domain. Instances not associated with a WebLogic domain are created when you do not select Associate Selected Components with WebLogic Domain on the Configure Components Screen.

In order to properly deinstall Oracle Web Tier, you must perform the following in order:

  1. Start the deinstaller (Section 3.2.1, "Starting the Deinstaller").

  2. Remove all managed and unmanaged Oracle Instances (Section 3.2.2, "Removing Your Oracle Instances").

  3. Run the deinstaller again to remove the Web Tier Oracle Home (Section 3.2.3, "Removing Your Web Tier Oracle Home").

  4. Remove the Oracle Common home (Section 3.2.4, "Removing Your Oracle Common Home").

3.2 Deinstallation Instructions

Follow the instructions in this section to remove Oracle Web Tier:

3.2.1 Starting the Deinstaller

Go to the Web_Tier_ORACLE_HOME/oui/bin (on UNIX operating systems) or Web_Tier_ORACLE_HOME\oui\bin (on Windows operating systems) directory and start the deinstaller.

On UNIX operating systems:

./runInstaller -deinstall

On Windows operating systems:

setup.exe -deinstall

On Windows systems, you can also start the deinstaller from the Start menu. For example, you might select Programs > Oracle Web Tier 11g - Home1 > Uninstall.

3.2.2 Removing Your Oracle Instances

All managed and unmanaged Oracle instances must be removed from the system before you remove the Web Tier Oracle home.

If you associated your components with a WebLogic domain during installation, follow the instructions in Table 3-1 to deinstall your managed instances:

Note:

If you want to remove an Oracle instance which is registered with a WebLogic domain, make sure to launch the deinstaller from Oracle home directory that is associated with the Oracle instance you are removing.

The deinstaller will list all instances associated with same WebLogic domain; make sure you choose to remove the instances that are associated with the Oracle home from where you launched the deinstaller only.

Table 3-1 Removing Managed Instances Flow

No. Screen Description and Action Required

1

Welcome Screen

Click Next to continue.

2

Select Deinstallation Type Screen

Select Deinstall AS Instances managed by WebLogic Domain.

3

Specify WebLogic Domain Detail Screen

Specify the credentials of your WebLogic Domain.

Click Next to continue.

4

Select Managed Instance Screen

Select the managed instance you want to deinstall.

Click Next to continue.

5

Deinstallation Summary Screen (Managed Instance)

Verify the information on this screen.

Click Deinstall to continue.

6

Deinstallation Progress Screen

This screen shows the progress and status of the deinstallation.

7

Deinstallation Complete Screen

Click Finish to dismiss the screen.


If you did not associate your components with a WebLogic domain during installation, follow the instructions in Table 3-2 to deinstall your unmanaged instances:

Table 3-2 Removing Unmanaged Instances Flow

No. Screen Description and Action Required

1

Welcome Screen

Click Next to continue.

2

Select Deinstallation Type Screen

Select Deinstall Unmanaged ASInstances.

3

Specify Instance Location Screen

Specify the location of your unmanaged Oracle Instance.

Click Next to continue.

4

Deinstallation Summary Screen (Unmanaged Instance)

Verify the information on this screen.

Click Deinstall to continue.

5

Deinstallation Progress Screen

This screen shows the progress and status of the deinstallation.

6

Deinstallation Complete Screen

Click Finish to dismiss the screen.


3.2.3 Removing Your Web Tier Oracle Home

After all managed and unmanaged Web Tier instances have been removed, start the deinstaller again (Section 3.2.1, "Starting the Deinstaller") and follow the instructions in Table 3-3 to remove your Web Tier Oracle Home.

Table 3-3 Removing the Web Tier Oracle Home Flow

No. Screen Description and Action Required

1

Welcome Screen

Click Next to continue.

2

Select Deinstallation Type Screen

Select Deinstall Oracle Home.

3

Deinstall Oracle Home Screen

Verify the Oracle Home directory that is about the be deinstalled.

Click Next to continue.

On the Warning screen, select whether or not you want the deinstaller to remove the Oracle home directory in addition to removing the software.

Click Yes to have the deinstaller remove the software and Oracle home, No to remove only the software, or Cancel to return to the previous screen.

If you select No, go to Section 3.2.5, "Manually Removing The Oracle Home Directory" for instructions on how to manually remove your Oracle home directory.

4

Deinstallation Progress Screen

This screen shows the progress and status of the deinstallation.

5

Deinstallation Complete Screen

Click Finish to dismiss the screen.


3.2.4 Removing Your Oracle Common Home

This section describes how to remove the oracle_common directory. This directory contains its own deinstaller in oui/bin (on UNIX operating systems) or oui\bin (on Windows operating systems), just like any other Oracle home directory.

Before you begin, you must:

  1. Stop all processes that use the oracle_common directory.

  2. Remove all Oracle Instances (see Section 3.2.2, "Removing Your Oracle Instances").

  3. Remove the Oracle Home directory (see Section 3.2.3, "Removing Your Web Tier Oracle Home").

To start the deinstaller, navigate to the MW_HOME/oracle_common/oui/bin (on UNIX operating systems) or MW_HOME\oracle_common\oui\bin (on Windows operating systems) directory and start the deinstaller.

The deinstaller requires the location of a Java Runtime Environment (JRE) on your system. When the Middleware home directory was created (Section A.6, "Specify Installation Location Screen"), a JRE was installed on your system. You can use this location (the location of the jre directory) to start the deinstaller. The default location for the JRE is MW_HOME/jdk160_18 (on UNIX operating systems) or MW_HOME\jdk160_18 (on Windows operating systems), where MW_HOME is the Middleware home directory.

On UNIX operating systems:

./runInstaller -deinstall -jreLoc JRE_LOCATION

On Windows operating systems:

setup.exe -deinstall -jreLoc JRE_LOCATION

You must specify the absolute path to your JRE_LOCATION; relative paths will not work.

After the deinstaller is started, follow the instructions in Table 3-3 to remove the Oracle Common home.

3.2.5 Manually Removing The Oracle Home Directory

If you selected No on the warning screen during deinstallation, you must manually remove your Oracle home directory and any sub-directories. For example, if your Oracle Common home directory was /home/Oracle/Middleware/oracle_common on a UNIX operating system:

> cd /home/Oracle/Middleware
> rm -rf oracle_common

On a Windows operating system, if your Oracle Common home directory was C:\Oracle\Middleware\oracle_common, use a file manager window and navigate to the C:\Oracle\Middleware directory, then right-click on the oracle_common folder and select Delete.

3.2.6 Removing the Program Groups (Windows Only)

On Windows operating systems, you must also manually remove the program groups from the Start Menu\Programs folder. As an example (the folder names and program group names on your system may be different), you might remove the following from C:\Documents and Settings\All Users\Start Menu\Programs:

  • Oracle Fusion Middleware 11.1.1.3.0

  • Oracle HTTP Server 11g - Home1

3.2.7 Rebooting Your System (Windows Only)

On Windows operating systems, you should reboot your computer after you have finished removing all your programs to ensure proper cleanup.

3.3 Reinstallation

The installer does not allow reinstallation of Oracle Web Tier in a directory that already contains an Oracle instance. To reinstall Web Tier in the same directory as before, you must:

  1. Follow the instructions in Section 3.2.2, "Removing Your Oracle Instances" to remove all Oracle instances from the directory.

  2. Follow the instructions in Chapter 2, "Installing Oracle Web Tier" to reinstall the software.