5 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 5.3 for more information.

5.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 Fusion Middleware (EM) control. 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 tasks, in order:

5.2.1 Starting the Deinstaller

Go to the Web_Tier_ORACLE_HOME/oui/bin directory on UNIX, and Web_Tier_ORACLE_HOME\oui\bin directory on Windows and start the deinstaller.

On UNIX

./runInstaller -deinstall

On Windows

setup.exe -deinstall

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

5.2.2 Removing the 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 5-1 to deinstall your managed instances:

Note:

If you want to remove an Oracle instance which is registered with a WebLogic domain, 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; ensure that you choose to remove the instances that are associated with the Oracle home from where you launched the deinstaller only.

To start the deinstaller, go to the MW_HOME/oracle_common/oui/bin directory on UNIX, and MW_HOME\oracle_common\oui\bin directory on Windows, 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 (Appendix A), 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_29 on UNIX, and MW_HOME\jdk160_29 on Windows, where MW_HOME is the Middleware home directory.

On UNIX

./runInstaller -deinstall -jreLoc JRE_LOCATION

On Windows

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 5-3 to remove the Oracle Common home.

5.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 Windows, 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. Right-click on the oracle_common folder and select Delete.

5.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. For 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.7.0

Oracle HTTP Server 11g - Home1

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

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

Follow the instructions in Section 5.2.2 to remove all Oracle instances from the directory.