Oracle® Application Server Installation Guide 10g Release 3 (10.1.3.2.0) for Microsoft Windows Part Number B32197-01 |
|
|
View PDF |
This appendix guides you through the deinstallation and reinstallation process for Oracle Application Server.
Follow these high-level steps to deinstall Oracle Application Server (the details are provided in later sections):
Run the deinstaller.
Clean up any remaining files.
Items to Remove or Clean Up
To deinstall Oracle Application Server instances, you have to clean up the items listed in Table D-1. The procedures for doing so are described later in this appendix.
Table D-1 Items to Deinstall
Item to Clean Up | Tool to Use |
---|---|
Files from the Oracle home directory |
Installer If the installer does not remove all the files, you can remove the remaining files using the |
Entries for the deleted instance in the Inventory directory |
Installer |
Instance name from Farm page |
Installer |
Entries for the deleted instance in the Windows registry |
Installer The installer does not remove all the Oracle registry entries. If you need to delete all Oracle registry entries, see Section D.4, "Deinstalling All Oracle Products Manually". Note: You can remove the entries only if the computer is not running other Oracle Application Server instances or other Oracle products, because the procedure described in the section removes entries for all Oracle products. |
The installer does not permit custom deinstallation of individual components.
Log in as the operating system user who installed the instance you want to deinstall.
Stop all processes associated with the instance you want to deinstall.
See the Oracle Application Server Administrator's Guide for details on how to stop the processes.
Start the deinstaller.
Select Start > Programs > Oracle - InstanceName > Deinstall.
Follow these steps in the deinstaller.
Click OK to start the deinstaller.
Press Enter to exit the deinstaller when the deinstallation is complete.
Restart your computer to stop any remaining processes associated with the deinstallation.
Delete any remaining files in the deleted instance's Oracle home directory.
C:\> del %ORACLE_HOME%
If you deinstalled Oracle Content DB, perform the steps in Section D.3, "Additional Deinstallation Tasks for Oracle Content DB".
This section describes additional tasks to deinstall Oracle Content DB. If you have more than one middle tier, perform these steps after you deinstall the last Oracle Content DB middle tier.
On the database computer, go to the Oracle home of the database.
Connect to SQL*Plus as the database user SYS, with the SYSDBA option.
Drop the Oracle Content DB schemas (CONTENT
and CONTENT$CM
), the Oracle Workflow schema (OWF_MGR
), and the Oracle Content DB tablespaces by executing the following commands. The first command may take a few minutes to run.
drop user CONTENT cascade; drop user CONTENT$CM cascade; drop user OWF_MGR cascade; drop tablespace CONTENT_IFS_MAIN including contents; drop tablespace CONTENT_IFS_LOB_N including contents; drop tablespace CONTENT_IFS_LOB_I including contents; drop tablespace CONTENT_IFS_LOB_M including contents; drop tablespace CONTENT_IFS_CTX_K including contents; drop tablespace CONTENT_IFS_CTX_I including contents; drop tablespace CONTENT_IFS_CTX_X including contents; drop tablespace WORKFLOW_IFS_MAIN including contents;
The following procedure removes all Oracle products from your computer.
Caution:
These instructions remove all Oracle components, services, and registry entries from your computer. Exercise extreme care when removing registry entries. Removing incorrect entries can cause your computer to stop working.Delete Registry keys.
Select Start > Run, type in regedit, and click OK. This displays the Registry Editor.
Delete the following folders from the Registry. To delete a folder, select it and select Edit > Delete from the menu.
In some of the entries below, InstanceName indicates the name of the Oracle Application Server instance, which you entered in the Oracle Application Server 10g 10.1.3.2.0 Installation screen.
HKEY_LOCAL_MACHINE / SOFTWARE / ORACLE
HKEY_LOCAL_MACHINE / SYSTEM / CurrentControlSet / Services / Oracle-InstanceNameProcessManager
HKEY_LOCAL_MACHINE / SYSTEM / ControlSet X / Services / Oracle-InstanceNameProcessManager
X is a number, for example, 001.
HKEY_CLASSES_ROOT / ORACLE
Exit the Registry Editor.
Edit/delete environment variables.
To display environment variables:
Right-click My Computer (on Windows 2003, the icon is labeled with the name of your computer) on the desktop and select Properties. Select the Advanced tab, then click Environment Variables
Modify the Path system variable to remove all references to any previous Oracle home paths:
Highlight the Path system variable. Click the Edit button and modify the path in the Variable Value field.
For example, the following shows an Oracle-modified Path system variable:
C:\OraHome\jdk\jre\bin\classic;C:\OraHome\jdk\jre\bin;C:\OraHome\bin; C:\OraHome\jlib;C:\OraHome\jre\1.1.8\bin;C:\WINNT\system32;C:\WINNT; C:\WINNT\System32\Wbem
The following shows the Path system variable after removal of the Oracle home references:
C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem
Click OK
Remove Oracle program folders.
Click Start > Programs (Windows 2000) or Start > All Programs (Windows 2003 or Windows XP). Remove Oracle folders by right-clicking on the folder and selecting Delete.
Delete the Oracle user.
Right-click My Computer (on Windows 2003, the icon is labeled with the name of your computer) and select Manage.
Expand Local Users and Groups.
Select Users.
Delete the user that installed Oracle products.
Double click My Computer on your desktop. Inspect the Documents and Settings directory on your hard drive and delete any Oracle user entries.
Restart your computer.
Remove remaining Oracle home directories from your hard drive.
For example:
C:\Oracle\*, C:\Program Files\Oracle\*
Restart your computer.
The installer does not allow reinstallation of an Oracle Application Server instance in a directory that already contains an Oracle Application Server instance. To reinstall Oracle Application Server in the same directory, you have to deinstall and then install it.