10 Deinstalling Oracle WebCenter Content

This chapter explains how to deinstall Oracle WebCenter Content from Oracle Fusion Middleware.

This chapter includes the following sections:

10.1 Preparing to Deinstall Oracle WebCenter Content

Deinstalling Oracle WebCenter Content from your system includes stopping Oracle WebLogic Server, removing application schemas, and deinstalling and removing Oracle homes.

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.

10.2 Stopping Oracle Fusion Middleware

Before deinstalling the Oracle WebCenter Content component from Oracle Fusion Middleware, you should stop all of the servers and processes.

To stop Oracle WebLogic Server and server processes:

  1. Stop each Managed Server in the Oracle WebLogic Server domain with the stopManagedWebLogic script in the DomainHome/bin directory.

    • UNIX script: DomainHome/bin/stopManagedWebLogic.sh managedServerName

    • Windows script:
      DomainHome\bin\stopManagedWebLogic.cmd managedServerName

    Supply your user name and password when prompted.

  2. Close any connections to the Administration Server for the domain, such as a Web browser interface, and stop the Administration Server:

    • UNIX script: DomainHome/bin/stopWebLogic.sh

    • Windows script: DomainHome\bin\stopWebLogic.cmd

For more information, see "Starting and Stopping Oracle Fusion Middleware" in the Oracle Fusion Middleware Administrator's Guide.

10.3 Removing Oracle WebCenter Content Schemas

Run the Repository Creation Utility (RCU) to drop one or more Oracle WebCenter Content schemas from your database.

10.3.1 Starting the Repository Creation Utility

You can download a ZIP file containing the Repository Creation Utility from either of these web sites:

Note:

On a Windows operating system, do not unzip the RCU ZIP file to a directory with a name that contains spaces.

After downloading the ZIP file, extract the contents to a directory of your choice, and then start RCU as the preceding text describes.

Start RCU with the rcu startup file:

  • UNIX path: RCU_HOME/bin/rcu

  • Windows path: RCU_HOME\BIN\rcu.bat

10.3.2 Dropping Schemas

Follow these instructions to drop one or more Oracle WebCenter Content schemas:

  1. Welcome screen

    Click Next.

  2. Create Repository screen

    Select Drop, and click Next.

  3. Database Connection Details screen

    Provide the credentials to connect to your database instance. These are the same credentials you provided on this screen when you created the Oracle WebCenter Content schemas. For more information, see Section 2.2, "Creating Oracle WebCenter Content Schemas with the Repository Creation Utility."

    Click Next. The Checking Prerequisites screen appears.

    If you have any prerequisite errors, the Database Connection Details screen displays details about the errors. Fix any errors, and click Next again.

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

  4. Select Components screen

    Select a schema prefix, and then select the name of each schema you want to drop from the repository.

    Click Next. The Checking Prerequisites dialog box appears.

    If you have any prerequisite errors, the Select Components screen displays details about the errors. Fix any errors, and click Next again.

    After the checking is complete with no errors, click OK to dismiss the dialog box, and then click Next.

  5. Summary screen

    Click Drop. A Drop dialog box appears, in which you can click Stop before the schemas are dropped.

    If you have any drop errors, the Summary screen displays details about the errors. Fix them, and click Drop again.

    Note:

    If your database is running on a Windows operating system, ensure that previous sessions accessing the tablespace are closed before the drop. After the drop, you might need to manually delete the dbf files.
  6. Completion Summary screen

    Click Close.

10.4 Removing the WebCenter Content Oracle Home

The deinstaller attempts to remove the Oracle home from which it was started. Before you remove the Oracle home for Oracle WebCenter Content, be sure to stop all running processes that use this Oracle home. After you remove the software, you will no longer be able to use your Oracle WebLogic Server domain.

This procedure does not remove any Oracle WebLogic Server domains that you have created. It removes only the software in the WebCenter Content Oracle home.

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

Note:

The deinstaller will attempt to remove the Oracle home directory 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.

Table 10-1 Deinstallation Procedure

No. Screen Description and Action Required

1

None

Start the Oracle Fusion Middleware 11g WebCenter Content Installer with the -deinstall option from the bin subdirectory of the oui directory in your WebCenter Content Oracle home:

  • UNIX command: WC_CONTENT_ORACLE_HOME/oui/bin/runInstaller -deinstall

  • Windows command: WC_CONTENT_ORACLE_HOME\oui\bin\setup.exe -deinstall

On a Windows operating system, you can also start the deinstallation from the Start menu by selecting Programs, then Oracle ECM 11g - Home1, and then Uninstall. The names of folders and program groups might be different on your Windows system.

2

Welcome

Click Next to continue.

3

Deinstall Oracle Home

Verify the Oracle home you are about to deinstall.

If you want to save the configuration, click the Save button. Then, in the Save dialog box, specify a file, and click Save. In the Response File Message dialog box, click OK.

Click Deinstall to continue.

4

Deinstallation Progress

This screen shows the progress and status of the deinstallation.

In the Warning dialog box, click Yes to undeploy all Oracle WebCenter Content applications and deinstall Oracle WebCenter content from Oracle Fusion Middleware, or click No to undeploy the Oracle WebCenter Content applications without deleting the WebCenter Content Oracle home.

5

Deinstallation Complete

Click Finish to dismiss the screen.


10.4.1 Removing the WebCenter Content Oracle Home Manually on a UNIX System

If the deinstallation procedure did not remove your WebCenter Content Oracle home directory, you can use the rm command to manually remove the directory and all of its subdirectories on a UNIX operating system.

To remove the WebCenter Content Oracle home on a UNIX operating system:

  1. Change directories to the directory that contains the WebCenter Content Oracle home directory:

    cd MW_HOME
    
  2. Specify the name of the WebCenter Content Oracle home directory in this command:

    rm -rf WC_CONTENT_ORACLE_HOME
    

10.4.2 Removing the WebCenter Content Oracle Home Manually on a Windows System

If the deinstallation procedure did not remove your WebCenter Content Oracle home directory, you can use the Delete command on the File menu and remove program groups from the Start menu to manually remove the directory and all of its subdirectories on a Windows operating system.

To remove the WebCenter Content Oracle home on a Windows operating system:

  • In Windows Explorer, you can navigate to the C:\MW_HOME directory, right-click the WC_CONTENT_ORACLE_HOME folder, and then choose Delete from the File menu.

  • You can remove the program groups from the Start Menu\Programs folder, if they exist. For example, you might remove the following program groups from C:\Documents and Settings\All Users\Start Menu\Programs:

    • Oracle WebLogic (BEAHOME 1)

    • Oracle ECM 11g - Home1

    The names of folders and program groups might be different on your Windows system.