4 Deinstalling Oracle Forms and Reports

This chapter describes how to remove Oracle Forms and Reports 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 4.3, "Reinstalling the Software" for more information.

Note:

If you need to remove a particular product component, you must remove the entire domain containing the component. It is not possible to remove a single product from a domain containing multiple products. Instructions for removing a domain are provided in Section 4.2.3, "Removing Oracle WebLogic Server and WebLogic Server Domains".

The following topics are covered:

4.1 Understanding Deinstallation

The Oracle Forms and Reports deinstaller gives you the following software removal options, which should be performed in the order shown:

  • Deinstall Unmanaged ASInstances

    This option removes instances of your system components not associated with a WebLogic domain.

    Note:

    This option is not applicable to Oracle Forms and Reports since all components must be associated with a WebLogic Server domain.
  • Deinstall ASInstances managed by WebLogic Domain

    This option removes instances of your WebLogic domain managed system components. The Administration Server must be up and running to remove managed instances; you will need to specify the credentials to access your WebLogic domain.

    You should choose this option if you have configured any Oracle Forms and Reports components, either by using the installer or the configuration tool.

  • Deinstall Oracle Home

    This option removes everything under the Oracle home from which the deinstaller is started and also gives you the option to remove the Oracle home directory. Be sure that you have removed all unmanaged and managed instances of your system components and also stopped all the servers before you remove the Oracle home. The deinstaller only removes the Oracle home directory from where it was started and does not remove any associated managed instances.

    You should choose this option:

    • If you have configured any Oracle Forms and Reports components, have already removed all managed instances of those components, have stopped all the servers, and are ready to remove the software in the Oracle home.

    • If you have performed a software-only installation and want to remove the installed software. For this scenario, since you did not configure any Oracle Forms and Reports components, you do not need to select the Deinstall ASInstances managed by WebLogic Domain option; you can start the deinstaller and go directly to the Deinstall Oracle Home option.

    There are two Oracle home directories that need to be removed: the Oracle Forms and Reports Oracle home and also the Oracle Common home. Each Oracle home contains its own deinstaller; you must start the deinstaller separately for each Oracle home as the deinstaller only removes the Oracle home from where it is started.

If you want to also remove Oracle WebLogic Server from your system, you must run the Oracle WebLogic Server uninstaller to do so. Refer to the instructions in Section 4.2.3, "Removing Oracle WebLogic Server and WebLogic Server Domains".

Table 4-1 provides additional information for each task listed in the flowchart.

Table 4-1 Oracle Forms and Reports Deinstallation Tasks

Task Description

Stop Oracle Fusion Middleware.

Stop the Administration Server.

See Section 4.2.1.3, "Stopping Oracle Fusion Middleware" for more information.

Start the Oracle Universal Installer.

Start the Oracle Universal Installer and remove your managed instances. Make sure the Administration Server is up before removing your managed instances.

See Section 4.2.1.1, "Starting the Deinstaller" and Section 4.2.1.2, "Removing Your Managed Oracle Forms and Reports Instances".

Restart the Oracle Forms and Reports deinstaller.

Start the Oracle Forms and Reports deinstaller again and remove your Oracle Forms and Reports Oracle home directory.

See Section 4.2.1.1, "Starting the Deinstaller" and Section 4.2.1.4, "Removing Your Oracle Forms and Reports Oracle Home".

Remove Oracle WebLogic Server and WebLogic Server domains.

See Section 4.2.3, "Removing Oracle WebLogic Server and WebLogic Server Domains".

Perform Optional Tasks?

Read the following to see if they are applicable to your environment:


4.2 Deinstalling the Software

This section contains information and instructions for removing Oracle Forms and Reports. This procedure involves the following:

4.2.1 Removing Oracle Forms and Reports

Follow the instructions in this section to deinstall Oracle Forms and Reports.

4.2.1.1 Starting the Deinstaller

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

On UNIX operating systems:

./runInstaller.sh -deinstall

On Windows operating systems:

setup.exe -deinstall

On Windows systems, you can also start the deinstaller from the Start menu by selecting Programs > Oracle Home - Home1 > Uninstall.

4.2.1.2 Removing Your Managed Oracle Forms and Reports Instances

All managed Oracle Instances must be removed from the system before you remove the Oracle home. Start the deinstaller (Section 4.2.1.1, "Starting the Deinstaller"), then follow the instructions in Table 4-2 to remove your managed instances (these are instances that are associated with a WebLogic Domain):

Note:

To remove a managed instance, the Administration Server must be up and running.

Note:

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

Table 4-2 Deinstallation Screens for Removing Managed Oracle Instances

Screen When This Screen Appears Description

Welcome

Always

The installer displays this screen when you are about to deinstall one or more Oracle Fusion Middleware software components.

Select Deinstallation Type

Always

Select the type of deinstallation you want to perform. In this case, select Deinstall ASInstances managed by WebLogic Domain.

Specify WebLogic Domain

Always

Specify the credentials to connect to your WebLogic Domain.

Select Managed Instance

Always

Select the managed Oracle instance you want to deinstall.

Deinstallation Summary (Managed Instance)

Always

Verify the Oracle Instance that is about to be removed.

Deinstallation Progress

Always

This screen shows the progress and status of the deinstallation.

Deinstallation Complete

Always

This screen summarizes the deinstallation that was just completed.

Click Finish to dismiss the screen.


4.2.1.3 Stopping Oracle Fusion Middleware

After you have removed all managed instances of your system components, you should stop all servers and processes before proceeding to remove the Oracle home.

For more information about stopping Oracle Fusion Middleware, refer to "Stopping an Oracle Fusion Middleware Environment" in Administering Oracle Fusion Middleware.

4.2.1.4 Removing Your Oracle Forms and Reports Oracle Home

After you have removed your managed instances and stopped the Administration Server, start the deinstaller again (Section 4.2.1.1, "Starting the Deinstaller") and follow the instructions in Table 4-3 to remove your Oracle Forms and Reports Oracle home.

Table 4-3 Deinstallation Screens for Removing Your Product Oracle Home

Screen When This Screen Appears Description and Action Required

Welcome

Always

The installer displays this screen when you are about to deinstall one or more Oracle Fusion Middleware software components.

Select Deinstallation Type

Always

Select the type of deinstallation you want to perform. In this case, select Deinstall Oracle Home.

Deinstall Oracle Home

Always

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

Click Deinstall 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 4.2.2, "Removing the Oracle Home Directory Manually" for instructions on how to manually remove your Oracle home directory.

Deinstallation Progress

Always

This screen shows the progress and status of the deinstallation.

Deinstallation Complete

Always

This screen summarizes the deinstallation that was just completed.

Click Finish to dismiss the screen.


4.2.2 Removing the Oracle Home Directory Manually

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 the oracle_common folder and select Delete.

4.2.3 Removing Oracle WebLogic Server and WebLogic Server Domains

Refer to "Uninstalling the Software" in Installing and Configuring Oracle WebLogic Server and Coherence for instructions on how to remove Oracle WebLogic Server. The uninstall program does not remove the home directory associated with the installation (the Oracle home), the JDK, or any user-created WebLogic domains for Oracle Forms and Reports. Only the components that were installed by the installation program are removed.

After the uninstall program is finished, perform the following:

4.2.3.1 Removing the Oracle home Directory

After the uninstall program is finished, you must manually remove the Oracle home directory. For example, if your Oracle home directory was /home/Oracle/Middleware on a UNIX operating system:

> cd /home/Oracle
> rm -rf Middleware

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

4.2.3.2 Removing Your Domains

After the uninstall program is finished, you must manually remove your Domain home directory; this directory was specified in the Domain Location field on the Select Domain screen during installation.

Use your normal operating system commands to remove your Domain home directory. For example, if your Domain home directory was /home/Oracle/Domains/FRDomain on a UNIX operating system:

> cd /home/Oracle
> rm -rf Domains

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

4.2.4 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:\ProgramData\Microsoft\Windows\Start Menu\Programs:

  • Oracle FMW 12c Domain - name_domain

  • Oracle - name_home

  • Oracle WebLogic

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

4.3 Reinstalling the Software

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

  1. Follow the instructions in Section 4.2.1.2, "Removing Your Managed Oracle Forms and Reports Instances"to remove all Oracle instances from the directory.

  2. Follow the instructions in Chapter 2, "Installing and Configuring Oracle Forms and Reports" to reinstall the software.