5 Deinstalling Oracle WebCenter

This section describes how to remove Oracle WebCenter and related products 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 section will ensure that the software is properly removed.

The following topics are covered:

5.1 Deinstallation Instructions

Follow the instructions in this section to remove Oracle WebCenter and related software from your system. The following tasks should be completed:

5.1.1 Stopping Oracle Fusion Middleware

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

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

5.1.2 Removing Oracle WebCenter Schemas

Run the Repository Creation Utility (RCU) to drop the WebCenter schemas from your database.

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

5.1.2.2 Instructions for Dropping the WebCenter Schemas

Follow the instructions below to drop the WebCenter 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 WebCenter schemas. See Section 2.1.3, "Create Schemas for Oracle WebCenter" 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.

5.1.3 Removing Oracle Universal Content Management

If you installed Oracle UCM as part of the Oracle WebCenter installation, then you can skip this section.

If you installed Oracle UCM separately from the Oracle WebCenter installation, you must first remove this software separately from the Oracle WebCenter software before you remove Oracle WebCenter. Instructions for doing so can be found in Content Server Installation Guide for Microsoft Windows and Content Server Installation Guide for UNIX at the following URL:

http://download.oracle.com/docs/cd/E10316_01/owc.htm

After you remove Oracle UCM, you can them proceed with the deinstallation of Oracle WebCenter.

5.1.4 Removing Oracle WebCenter

The deinstaller will attempt to remove the WebCenter Oracle Home from which it was started. This procedure will not remove any WebLogic domains that you have created - it only removes the software in the WebCenter Oracle Home.

Before you choose to remove your WebCenter Oracle Home, make sure that it is not in use by an existing domain, and also make sure you stop all running processes that use this Oracle Home. After you remove the software, you will no longer be able to use your WebLogic domain.

5.1.4.1 Starting the Deinstaller

Go to the WebCenter_ORACLE_HOME/oui/bin (for UNIX) or WebCenter_ORACLE_HOME\oui\bin (for Windows) directory and start the deinstaller.

On UNIX:

./runInstaller.sh -deinstall -jreLoc JRE_LOCATION

On Windows:

setup.exe -deinstall -jreLoc JRE_LOCATION

Note:

Specify the absolute path to your JRE_LOCATION; relative paths are not supported.

5.1.4.2 Deinstallation Screens and Instructions

Follow the instructions in Table 5-1 to deinstall Oracle WebCenter.

Note:

The deinstaller will attempt to remove the Oracle Home from which it was started; before you choose to remove the Oracle Home, make sure that it is not in use by an existing domain.

If you need additional help with any of the deinstallation screens, refer to Appendix C, "Oracle WebCenter Deinstallation Screens" or click Help to access the online help.

Table 5-1 Deinstallation Flow

No. Screen Description and Action Required

1

Welcome Screen

Click Next to continue.

2

Deinstall Oracle Home Screen

Verify the Oracle Home you are about to deinstall.

Click Deinstall to continue.

3

Deinstall Progress Screen

This screen shows the progress and status of the deinstallation.

4

Deinstall Completed Screen

Click Finish to dismiss the screen.


5.1.5 Removing Oracle WebLogic Server

To remove 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.

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

5.1.7 Removing the Oracle Home and JDeveloper Home Directories

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

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

On a Windows system, if your WebCenter Oracle Home directory was C:\Oracle\Middleware\Oracle_WC1, use a file manager window and navigate to the C:\Oracle\Middleware directory, then right-click on the Oracle_WC1 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 WebCenter 11g - Home1

  • Oracle WebLogic

5.2 Reinstallation

The installer does not allow reinstallation of an Oracle WebCenter instance in a directory that already contains an Oracle WebCenter instance. To reinstall Oracle WebCenter in the same directory, you have to deinstall and then install it.