11 Uninstalling Oracle WebCenter Content

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

This chapter includes the following sections:

11.1 Preparing to Uninstall Oracle WebCenter Content

Uninstalling Oracle WebCenter Content from your system includes stopping Oracle WebLogic Server, removing application schemas, and uninstalling 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.

11.2 Stopping Oracle Fusion Middleware

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

You can stop each Managed Server in your Oracle WebLogic Server domain from the bin directory under your domain home directory:

  • UNIX path: MW_HOME/user_projects/domains/DomainHome/bin

  • Windows path: MW_HOME\user_projects\domains\DomainHome\bin

The directory path to the Middleware home (MW_HOME) and the name of the domain (DomainHome) were provided on the Specify Domain Name and Location screen in Fusion Middleware Configuration Wizard.

To stop Oracle WebLogic Server and server processes:

  1. Stop each Managed Server in the Oracle WebLogic Server domain with the stopManagedWebLogic script:

    • UNIX script: MW_HOME/user_projects/domains/DomainHome/bin
      /stopManagedWebLogic.sh
      server_name [admin_url]

    • Windows script: MW_HOME\user_projects\domains\DomainHome
      \bin\stopManagedWebLogic.cmd
      server_name [admin_url]

    This script requires that you specify a server name, such as one of these names:

    • UCM_server1 (WebCenter Content)

    • IBR_server1 (Inbound Refinery)

    • IPM_server1 (Imaging)

    • capture_server1 (Capture)

    • IRM_server1 (Oracle IRM)

    • URM_server1 (Records)

    The Managed Servers names are in the startManagedWebLogic_readme.txt file. To view the server names on a UNIX operating system, issue this command:

    cat MW_HOME/user_projects/domains/domain_name/startManagedWebLogic_readme.txt
    

    To view the server names on a Windows operating system, double-click this file:

    MW_HOME\user_projects\domains\domain_name\startManagedWebLogic_readme.txt
    

    The value of admin_url is the Administration Server URL. If the Administration Server does not use the default port, 7001, you need to specify a value for admin_url, such as t3://localhost:8001/.

    If you are prompted for the Oracle WebLogic Server user name and password, use the ones that were provided on the Configure Administrator User Name and Password screen in the configuration wizard.

  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.

11.3 Removing Oracle WebCenter Content Schemas

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

11.3.1 Starting the Repository Creation Utility

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

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

Note:

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

Start RCU with the rcu startup file:

  • UNIX path: RCU_HOME/bin/rcu

  • Windows path: RCU_HOME\BIN\rcu.bat

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

11.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 11-1 to uninstall 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 11-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: WCC_ORACLE_HOME/oui/bin/runInstaller -deinstall

  • Windows command: WCC_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 uninstall.

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


11.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 WCC_ORACLE_HOME
    

11.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 WCC_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.