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:

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

    On Windows:

    MW_HOME\user_projects\domains\domain_name\bin\stopManagedWeblogic.cmd managed_server_nanme admin_url username password
    
  4. Stop WebLogic Administration Server.

    On UNIX:

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

    On Windows:

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

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) or rcuHome\bin (on Windows) directory:

On UNIX:

./rcu

On Windows:

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) or rcuHome\bin (on Windows) 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.3, "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 (for UNIX) or ORACLE_HOME\oui\bin (for Windows) directory and start the deinstaller.

On UNIX:

./runInstaller.sh -deinstall

On Windows:

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 Deinstallation Screens and Instructions

Follow the instructions in this Table 3-1 to deinstall Oracle Portal, Forms, Reports, and Discoverer.

Table 3-1 Deinstallation Flow

No. Screen Description and Action Required

1

Welcome Screen

Click Next to continue.

2

Select Deinstallation Type Screen

Select the type of installation you want to perform.

Deinstall Oracle Home

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.

Deinstall AS Instances managed by WebLogic Domain

3

Specify WebLogic Domain Detail Screen

Specify the credentials of your WebLogic Domain.

Click Next to continue.

4

Select Instance or Home Screen

Select the Oracle Home or 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.

Deinstall Unmanaged AS Instances

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.4 Removing Oracle WebLogic Server

To deinstall Oracle WebLogic Server:

  1. Start the deinstaller from the WebLogic_Home/uninstall (for UNIX) or WebLogic_Home\uninstall (for Windows) directory. You specified the location of the WebLogic Home directory on the Choose Product Installation Directories Screen in Section 2.1.4, "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.

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 Oracle Home and JDeveloper Home Directories

Manually remove the Oracle Home directory and all sub-directories. For example, if your Oracle Home directory was /home/Oracle/Middleware/Oracle_Portal on a UNIX system:

> cd /home/Oracle/Middleware
> rm -rf Oracle_Portal

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

Repeat this procedure for your Oracle JDeveloper installation directories, as the deinstaller removes the software but not all of the installation directories. Before doing so, make sure you save any projects that you do not want to delete.

On Windows 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.1.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 follow the instructions in this chapter to deinstall the software, then follow the instructions in Chapter 2, "Installing Oracle Portal, Forms, Reports and Discoverer" to reinstall the software.