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.
This chapter contains the following sections:
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 must 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:
Start the deinstaller (Section 5.2.1).
Remove all managed and unmanaged Oracle Instances (Section 5.2.2).
Run the deinstaller again to remove the Web Tier Oracle Home (Section 5.2.3).
Remove the Oracle Common home (Section 5.2.4).
Follow the instructions in this section to remove Oracle Web Tier:
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.
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.
Table 5-1 Removing Managed Instances Flow
No. | Screen | Description and Action Required |
---|---|---|
1 |
Click Next to continue. |
|
2 |
Select Deinstall ASInstances managed by WebLogic Domain. |
|
3 |
Specify the credentials of your WebLogic Domain. Click Next to continue. |
|
4 |
Select the managed instance you want to deinstall. Click Next to continue. |
|
5 |
Verify the information on this screen. Click Deinstall to continue. |
|
6 |
This screen shows the progress and status of the deinstallation. |
|
7 |
Click Finish to dismiss the screen. |
If you did not associate your components with a WebLogic domain during installation, follow the instructions in Table 5-2 to deinstall your unmanaged instances:
Table 5-2 Removing Unmanaged Instances Flow
No. | Screen | Description and Action Required |
---|---|---|
1 |
Click Next to continue. |
|
2 |
Select Deinstall Unmanaged ASInstances. |
|
3 |
Specify the location of your unmanaged Oracle Instance. Click Next to continue. |
|
4 |
Verify the information on this screen. Click Deinstall to continue. |
|
5 |
This screen shows the progress and status of the deinstallation. |
|
6 |
Click Finish to dismiss the screen. |
After all managed and unmanaged Web Tier instances have been removed, start the deinstaller again (Section 5.2.1), and follow the instructions in Table 5-3 to remove your Web Tier Oracle Home.
Table 5-3 Removing the Web Tier Oracle Home Flow
No. | Screen | Description and Action Required |
---|---|---|
1 |
Click Next to continue. |
|
2 |
Select Deinstall Oracle Home. |
|
3 |
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 5.2.5, "Manually Removing the Oracle Home Directory" for instructions on how to manually remove your Oracle home directory. |
|
4 |
This screen shows the progress and status of the deinstallation. |
|
5 |
Click Finish to dismiss the screen. |
This section describes how to remove the oracle_common
directory. This directory contains its own deinstaller in oui/bin
on UNIX, and oui\bin
on Windows, just like any other Oracle home directory.
Before you begin, you must:
Stop all processes that use the oracle_common
directory.
Remove all Oracle Instances (see Section 5.2.2).
Remove the Oracle Home directory (see Section 5.2.3).
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.
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.
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 11g Release 1 (11.1.1.9.0)
Oracle HTTP Server 11g - Home1
On Windows operating systems, you should reboot your computer after you have finished removing all your programs to ensure proper cleanup.
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.
Follow the instructions in Chapter 3 to reinstall the software.
You can also remove and re-configure a WebTier Instance without reinstalling Oracle Web Tier binaries. See Section 4.2 to re-configure a Web Tier instance.