11 Deinstalling Oracle Enterprise Content Management Suite

This chapter explains how to deinstall Oracle Enterprise Content Management Suite, in these topics:

11.1 Introduction to Deinstalling Oracle Enterprise Content Management Suite

Deinstalling Oracle Enterprise Content Management Suite 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.

11.2 Stopping Oracle WebLogic Server and Server Processes

Before deinstalling the Oracle Enterprise Content Management Suite component of Oracle Fusion Middleware, you should stop all servers and processes.

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

    • UNIX script: MW_HOME/user_projects/domains/DomainHome/bin /stopManagedWebLogic.sh managed_server_name admin_url username password

      For example:

      /middleware_home/user_projects/domains/ecm_domain/bin/ stopManagedWebLogic.sh IPM_server1 myhost.oracle.com:16000  weblogic password
      
    • Windows script: MW_HOME\user_projects\domains\DomainHome \bin\stopManagedWebLogic.cmd managed_server_name admin_url username password

  2. Stop the Administration Server:

    • UNIX operating system

      MW_HOME/user_projects/domains/domain_name/bin/stopWeblogic.sh username password
      
    • Windows operating system

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

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

11.3 Removing Oracle Enterprise Content Management Suite Schemas

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

11.3.1 Starting Repository Creation Utility

Insert the Repository Creation Utility DVD, and then start RCU with the bin/rcu or BIN\rcu.bat file:

  • UNIX path: RCU_HOME/bin/rcu

  • Windows path: RCU_HOME\BIN\rcu.bat

You can also 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.

11.3.2 Dropping Schemas

Follow these instructions to drop one or more Oracle Enterprise Content Management Suite 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 Enterprise Content Management Suite schemas. For more information, see Section 2.2, "Creating Oracle Enterprise Content Management Suite Schemas."

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

  5. Summary screen

    Click Drop. A DROP screen appears.

    If you have any drop errors, the Summary screen displays details about the errors. Fix them, and click Next 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.

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

  6. Completion Summary screen

    Click Close.

11.4 Deinstalling the ECM Oracle Home

The deinstaller attempts to remove the ECM Oracle home from which it was started. Before you remove the Oracle home for Oracle Enterprise Content Management Suite, make sure that it is not in use by an existing domain and that you 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 ECM Oracle home.

Follow the instructions in Table 11-1 to deinstall Oracle Enterprise Content Management Suite. The procedure after the table describes these steps in more detail.

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 ECM installer with the -deinstall option from the bin subdirectory of the oui directory in your ECM Oracle home:

  • UNIX command: ECM_ORACLE_HOME/oui/bin/runInstaller -deinstall -jreLoc jre_location

  • Windows command: ECM_ORACLE_HOME\oui\bin\setup.exe -deinstall -jreLoc jre_location

    If you double-click setup.exe, you will be prompted for the JRE location. After you enter the path, click Enter to start the installer.

The value of jre_location must specify the absolute path to the Java Runtime Environment (JRE) on your system. A relative path will not work. For more information about the JRE location, see Section 3.2.5, "Installing Oracle Enterprise Content Management Suite."

You can also start the installer from Disk 1 of the Oracle Enterprise Content Management Suite media.

On a Windows operating system, you can also start the installer from the Start menu by selecting Programs, then Oracle ECM 11g - Home1, and then Uninstall.

2

Welcome

Click Next to continue.

3

Deinstall Oracle Home

Verify the Oracle home you are about to deinstall.

Click Deinstall to continue.

4

Deinstallation Progress

This screen shows the progress and status of the deinstallation.

No action is necessary on this screen.

5

Deinstallation Complete

Click Finish to dismiss the screen.


11.5 Removing Oracle Home Directories Manually

If the deinstallation procedure did not remove your ECM Oracle home directory, you need to manually remove it and all of its subdirectories.

To remove an ECM Oracle home directory on a UNIX operating system:

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

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

    rm -rf ECM_ORACLE_HOME
    

To remove an ECM Oracle home directory on a Windows operating system:

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

  • Alternatively, 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 folder and program group names on your Windows operating system might be different.