8 Deinstalling Oracle Enterprise Content Management Suite

This chapter explains how to deinstall Oracle Enterprise Content Management Suite.

This chapter includes the following section:

8.1 Introduction to Deinstalling Oracle Enterprise Content Management Suite

Deinstalling Oracle Enterprise Content Management Suite from your system involves the following tasks:

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.

8.2 Stopping Oracle Fusion Middleware Server and Processes

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

  1. Stop each Oracle WebLogic Server Managed Server.

    On a 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
    

    On a Windows operating system:

    MW_HOME\user_projects\domains\domain_name\bin\stopManagedWebLogic.cmd managed_server_name admin_url username password
    
  2. Stop the WebLogic Administration Server.

    On a UNIX operating system:

    MW_HOME/user_projects/domains/domain_name/bin/stopWeblogic.sh username password
    

    On a 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.

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

8.3.1 Starting Repository Creation Utility

Insert the Repository Creation Utility DVD, and start RCU from the rcuHome/bin directory (UNIX system) or from the rcuHome\BIN directory (Windows system).

On a UNIX operating system:

./rcu

On a Windows operating system:

rcu.bat

If you download the Repository Creation Utility ZIP file from OTN, you can also start RCU as the preceding text describes.

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

8.4 Deinstalling Oracle Enterprise Content Management Suite

The deinstaller attempts to remove the 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 8-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 8-1 Deinstallation Procedure

No. Screen Description and Action Required

1

None.

Go to the ECM_ORACLE_HOME/oui/bin directory and start the deinstaller.

On a UNIX operating system:

cd ORACLE_HOME/oui/bin
./runInstaller -deinstall [-jreLoc jre_location]

On a Windows operating system:

cd ORACLE_HOME\oui\bin
setup.exe -deinstall [-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 deinstaller from the ECM_ORACLE_HOME/oui/bin directory (UNIX system) or ECM_ORACLE_HOME\oui\bin directory (Windows system).

    On a UNIX operating system:

    ./runInstaller -deinstall [-jreLoc jre_location]
    

    On a Window operating system:

    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.

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

  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.

8.5 Removing the Oracle Home Directories

Manually remove the ECM Oracle home directory and all of its subdirectories. For example, to remove the ECM Oracle home directory MW_HOME/Oracle_ECM1 from a UNIX operating system:

cd /MW_HOME
rm -rf Oracle_ECM1

To remove the ECM Oracle home directory from a Windows operating system, you can use a file manager window, navigate to the C:\MW_HOME directory, right-click the Oracle_ECM1 folder, and then select Delete.

You can also manually 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 system might be different.