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 Oracle Fusion Middleware software components, you should stop all servers and processes.

  1. Stop each Oracle WebLogic Server Managed Server:

    • UNIX operating system

      MW_HOME/user_projects/domains/domain_name/bin/stopManagedWebLogic.sh managed_server_name admin_url username password
      

      For example:

      MW_HOME/user_projects/domains/ecm_domain/bin/stopManagedWebLogic.sh IPM_server1 
      t3://managedserver_hostname:managedserver_port weblogic password
      
    • Windows operating system

      MW_HOME\user_projects\domains\domain_name\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 start RCU from the bin or BIN subdirectory of the rcuHome directory:

  • UNIX operating system

    cd rcuHome/bin
    ./rcu
    
  • Windows operating system

    cd rcuHome\BIN
    rcu.bat
    

If you download the Repository Creation Utility ZIP file from OTN, you can start RCU in the same way.

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 WebLogic domain.

This procedure does not remove any WebLogic 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 deinstaller from the bin subdirectory of the oui directory in your ECM Oracle home:

  • UNIX operating system

    cd ECM_ORACLE_HOME/oui/bin
    ./runInstaller -deinstall -jreLoc jre_location
    
  • Windows operating system

    cd ECM_ORACLE_HOME\oui\bin
    setup.exe -jreLoc jre_location
    

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.

5

Deinstallation Complete

Click Finish to dismiss the screen.


To deinstall Oracle Enterprise Content Management Suite:

  1. Start the Oracle ECM deinstaller from the bin subdirectory of the oui directory in your ECM Oracle home:

    • UNIX operating system

      cd ECM_ORACLE_HOME/oui/bin
      ./runInstaller -deinstall -jreLoc jre_location
      

      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.

    • Windows operating system

      ECM_ORACLE_HOME\oui\bin\setup.exe -deinstall -jreLoc jre_location
      

      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.

      You can also start the installer from the Start menu by selecting Programs, then Oracle ECM 11g - Home1, and then Uninstall.

    For more information about the JRE location, see Section 3.2.4, "Installing Oracle Enterprise Content Management Suite."

  2. Welcome screen

    Click Next.

  3. Deinstall Oracle Home screen

    Verify the ECM Oracle home you are about to deinstall, and click Deinstall to continue.

  4. Deinstallation Progress screen

    No action is necessary on this screen, which shows the progress and status of the deinstallation.

  5. Deinstallation Complete screen

    Click Finish.

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:

  • UNIX operating system

    cd /MW_HOME
    rm -rf ECM_ORACLE_HOME
    
  • Windows operating system

    To manually remove the ECM Oracle home, use either of these methods:

    • In Windows Explorer, navigate to the C:\MW_HOME directory, right-click the ECM_ORACLE_HOME folder, and then select Delete.

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