Skip Headers
Oracle® Application Server Installation Guide
10g Release 3 (10.1.3.2.0) for Microsoft Windows (64-Bit) on Intel Itanium

Part Number B32408-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

D Deinstallation and Reinstallation

This appendix guides you through the deinstallation and reinstallation process for Oracle Application Server.

D.1 Deinstallation Procedure: Overview

Follow these high-level steps to deinstall Oracle Application Server (the details are provided in later sections):

  1. Run the deinstaller.

  2. 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 del command.

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.

D.2 Deinstalling Procedure

The steps to deinstall Oracle Application Server are as follows:

  1. Log in as the operating system user who installed the instance you want to deinstall.

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

  3. Start the deinstaller.

    Select Start > Programs > Oracle - InstanceName > Deinstall.

  4. Follow these steps in the deinstaller.

    1. Click OK to start the deinstaller.

    2. Press Enter to exit the deinstaller when the deinstallation is complete.

  5. Restart your computer to stop any remaining processes associated with the deinstallation.

  6. Delete any remaining files in the deleted instance's Oracle home directory.

    C:\> del %ORACLE_HOME%
    
    
  7. If you deinstalled Oracle Content DB, perform the steps in Section D.3, "Additional Deinstallation Tasks for Oracle Content DB".

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.

  1. On the database computer, go to the Oracle home of the database.

  2. Connect to SQL*Plus as the database user SYS, with the SYSDBA option.

  3. 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;
    

D.4 Deinstalling All Oracle Products Manually

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.
  1. Delete Registry keys.

    1. Select Start > Run, type in regedit, and click OK. This displays the Registry Editor.

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

    3. Exit the Registry Editor.

  2. 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
    
    
  3. Click OK

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

  5. Delete the Oracle user.

    1. Right-click My Computer (on Windows 2003, the icon is labeled with the name of your computer) and select Manage.

    2. Expand Local Users and Groups.

    3. Select Users.

    4. Delete the user that installed Oracle products.

    5. Double click My Computer on your desktop. Inspect the Documents and Settings directory on your hard drive and delete any Oracle user entries.

  6. Restart your computer.

  7. Remove remaining Oracle home directories from your hard drive.

    For example:

    C:\Oracle\*, C:\Program Files\Oracle\*

  8. Restart your computer.

D.5 Reinstallation

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.