3 Deinstalling Oracle Portal, Forms, Reports and Discoverer

This chapter describes how to remove Oracle Portal, Forms, Reports and Discoverer 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 3.3, "Reinstallation" for more information.

The following topics are covered:

3.1 Deinstallation Options

The Oracle Portal, Forms, Reports and Discoverer 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 a WebLogic domain. 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.

3.2 Deinstallation Instructions

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

3.2.1 Stopping Oracle Fusion Middleware

Before deinstalling Oracle Fusion Middleware software components, you should stop all servers and processes.

  1. Stop all system components using the following opmnctl command. Make sure the ORACLE_HOME environment variable is set to the Oracle Home directory from your Application Developer installation.

    opmnctl stopall
    
  2. Stop all Java components using WLST:

    stopApplication(appName)
    

    For example, to stop Oracle Directory Integration Platform (DIP):

    stopApplication("DIP")
    
  3. Stop the WebLogic Managed Servers.

    On UNIX operating systems:

    MW_HOME/user_projects/domains/domain_name/bin/stopManagedWeblogic.sh managed_server_nanme admin_url username password
    

    On Windows operating systems:

    MW_HOME\user_projects\domains\domain_name\bin\stopManagedWeblogic.cmd managed_server_nanme admin_url username password
    

    Specify the admin_url using the following format:

    http://admin_server_host.admin_server_domain:admin_server_port
    
  4. Stop WebLogic Administration Server.

    On UNIX operating systems:

    MW_HOME/user_projects/domains/domain_name/bin/stopWeblogic.sh username password admin_url
    

    On Windows operating systems:

    MW_HOME\user_projects\domains\domain_name\bin\stopWeblogic.cmd username password admin_url
    

    Specify the admin_url using the following format:

    http://admin_server_host.admin_server_domain:admin_server_port
    

For more information about starting and stopping Oracle Fusion Middleware, refer to "Starting and Stopping Oracle Fusion Middleware" in Oracle Fusion Middleware Administrator's Guide.

3.2.2 Removing the Oracle Portal and Oracle Discoverer Schemas

Run the Repository Creation Utility (RCU) to drop the Oracle Portal and Oracle Discoverer schemas from your database.

3.2.2.1 Starting RCU

Insert the RCU CD-ROM and start RCU from the rcuHome/bin (on UNIX operating systems) or rcuHome\bin (on Windows operating systems) directory:

On UNIX operating systems:

./rcu

On Windows operating systems:

rcu.bat

If you download the RCU .zip file from OTN, then you can also start RCU as shown above from the rcuHome/bin (on UNIX operating systems) or rcuHome\bin (on Windows operating systems) directory on your system.

3.2.2.2 Instructions for Dropping the Oracle Portal and Oracle Discoverer Schemas

Follow the instructions below to drop the schemas:

  1. Welcome Screen

    Click Next.

  2. Create Repository Screen

    Select Drop.

    Click Next.

  3. Database Connection Details Screen

    Provide the following credentials to connect to your Oracle database. These are the same credentials you provided on this screen when you created the Oracle Portal and Oracle Discoverer schemas. See Section 2.1.4, "Create Schemas for Oracle Portal and Oracle Discoverer" for more information.

    Click Next. A "Checking Prerequisites" screen will appear. If there are errors, some details about the error will be displayed on the Database Connection Details Screen. Fix the error messages and click Next again.

    After the checking is complete with no errors, click OK to dismiss the screen.

  4. Select Components Screen

    Select the prefix and schemas you want to drop from the repository.

    Click Next. A "Checking Prerequisites" screen will appear. If there are errors, some details about the error will be displayed on the Select Components Screen. Fix the error messages and click Next again.

    After the checking is complete with no errors, click OK to dismiss the screen.

  5. Summary Screen

    Click Drop. A "DROP" screen will appear. If there are errors, some details about the error will be displayed on the Summary Screen. Fix the error messages and click Next again.

    After the schemas are dropped with no errors, click OK to dismiss the screen.

  6. Completion Summary Screen

    Click Close.

3.2.3 Removing Oracle Portal, Forms, Reports and Discoverer

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

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

3.2.3.2 Removing Your Oracle Instances

All managed and unmanaged Oracle Instances must be removed from the system before you remove the Oracle Home. Follow the instructions in this Table 3-1 to remove your managed Oracle Instances (these are instances that are associated with a WebLogic Domain):

Note:

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

Table 3-1 Removing Managed Oracle Instances

No. Screen Description and Action Required

1

Welcome Screen

Click Next to continue.

2

Select Deinstallation Type Screen

Select Deinstall ASInstances managed by WebLogic Domain.

Click Next to continue.

3

Specify WebLogic Domain Detail Screen

Specify the credentials of your WebLogic Domain.

Click Next to continue.

4

Select Managed Instance Screen

Select the managed Oracle Instance you want to deinstall.

Click Next to continue.

5

Deinstallation Summary (Managed Instance)

Verify the information on this screen.

Click Deinstall to continue.

6

Deinstall Progress Screen

This screen shows the progress and status of the deinstallation.

7

Deinstall Complete Screen

Click Finish to dismiss the screen.


Follow the instructions in this Table 3-2 to remove your unmanaged Oracle Instances (these are stand-alone instances that are not associated with a WebLogic Domain):

Table 3-2 Removing Unmanaged Oracle Instances

No. Screen Description and Action Required

1

Welcome Screen

Click Next to continue.

2

Select Deinstallation Type Screen

Select Deinstall unmanaged ASInstances.

Click Next to continue.

3

Specify AS Instance Location Screen

Specify the location of your unmanaged Oracle Instance.

Click Next to continue.

4

Deinstallation Summary (Unmanaged Instance)

Verify the information on this screen.

Click Deinstall to continue.

5

Deinstall Progress Screen

This screen shows the progress and status of the deinstallation.

6

Deinstall Complete Screen

Click Finish to dismiss the screen.


3.2.3.3 Removing Your Oracle Home

After all managed and unmanaged Oracle Instances have been removed, start the deinstaller again (Section 3.2.3.1, "Starting the Deinstaller") and follow the instructions in Table 3-3 to remove your Oracle Home.

Table 3-3 Removing Your Oracle Home

No. Screen Description and Action Required

1

Welcome Screen

Click Next to continue.

2

Select Deinstallation Type Screen

Select Deinstall Oracle Home.

Click Next to continue.

3

Deinstall Oracle Home Screen

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

Click Deinstall to continue.

4

Deinstall Progress Screen

This screen shows the progress and status of the deinstallation.

5

Deinstall Complete Screen

Click Finish to dismiss the screen.


3.2.3.4 Removing the Oracle Common Home

This section describes how to remove the oracle_common directory. This directory contains its own deinstaller in oui/bin (on UNIX operating systems) or oui\bin (on Windows operating systems), just like any other Oracle Home directory.

To start the deinstaller, navigate to the MW_HOME/oracle_common/oui/bin (on UNIX operating systems) or MW_HOME\oracle_common\oui\bin (on Windows operating systems) directory and start the deinstaller.

The deinstaller requires the location of a Java Runtime Environment (JRE) on your system. When you installed Oracle WebLogic Server (Section 2.1.5, "Install Oracle WebLogic Server and Create the Middleware Home"), a JRE was installed on your system. You can use this location (the location of the jre directory) to start the installer. The default location for the JRE is MW_HOME/jdk160_14_R27.6.4-18 (on UNIX operating systems) or MW_HOME\jdk160_14_R27.6.4-18 (on Windows operating systems), where MW_HOME is the Middleware Home directory.

On 64-bit platforms, the JRE location is the JAVA_HOME you used to install Oracle WebLogic Server. Refer to Section 2.1.5, "Install Oracle WebLogic Server and Create the Middleware Home" for more information.

On UNIX operating systems:

./runInstaller -deinstall -jreLoc JRE_LOCATION

On Windows operating systems:

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

3.2.4 Removing Oracle WebLogic Server

To deinstall Oracle WebLogic Server:

  1. Start the deinstaller from the WebLogic_Home/uninstall (on UNIX operating systems) or WebLogic_Home\uninstall (on Windows operating systems) directory. You specified the location of the WebLogic Home directory on the Choose Product Installation Directories Screen in Section 2.1.5, "Install Oracle WebLogic Server and Create the Middleware Home".

    On UNIX systems:

    ./uninstall.sh
    

    On Windows systems:

    uninstall.cmd
    

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

  2. Welcome Screen

    Click Next.

  3. Choose Components Screen

    By default, all components are selected.

    Click Next.

  4. Uninstalling WebLogic Platform Screen

    Click Done.

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

> cd /home/Oracle
> rm -rf Middleware

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

3.2.5 Removing Oracle JDeveloper

If you have installed Oracle JDeveloper on your system, refer to Oracle Fusion Middleware Installation Guide for Oracle JDeveloper for instructions on how to remove this software from your system.

3.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. As an 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.2.0

  • Oracle Portal 11g - Home1

  • Oracle WebLogic

3.3 Reinstallation

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

  1. Follow the instructions in Section 3.2.3.2, "Removing Your Oracle Instances"to remove all Oracle instances from the directory.

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