4 Deinstalling Oracle SOA Suite

This chapter describes how to remove Oracle SOA Suite from your system.

You should always 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 chapter will ensure that the software is properly removed. See Section 4.2, "Reinstallation" for more information.

The following topics are covered:

4.1 Deinstallation Instructions

The deinstaller will attempt to remove the Oracle Home from which it was started. Before you choose to remove your SOA Oracle Home, make sure that it is not in use by an existing domain, and also make sure you stop all running processes that use this Oracle Home.

This procedure will not remove any WebLogic domains that you have created - it only removes the software in the SOA Oracle Home.

To remove Oracle SOA Suite from your system properly, perform the following tasks:

4.1.1 Stopping Oracle Fusion Middleware

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

  1. Stop the WebLogic Managed Servers.

    On UNIX:

    MW_HOME/user_projects/domains/domain_name/bin/stopManagedWeblogic.sh managed_server_nanme admin_url username password
    

    On Windows:

    MW_HOME\user_projects\domains\domain_name\bin\stopManagedWeblogic.cmd managed_server_nanme admin_url username password
    
  2. Stop WebLogic Administration Server.

    On UNIX:

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

    On Windows:

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

For more information about starting and stopping Oracle Fusion Middleware, refer to "Starting and Stopping Oracle Fusion Middleware" in Oracle Fusion Middleware Administrator's Guide.

4.1.2 Removing Oracle SOA Suite Schemas

Run the Repository Creation Utility (RCU) to drop the Oracle SOA Suite schemas from your database.

4.1.2.1 Starting RCU

Insert the RCU CD-ROM and start RCU from the rcuHome/bin (on UNIX) or rcuHome\bin (on Windows) directory:

On UNIX:

./rcu

On Windows:

rcu.bat

If you download the RCU .zip file from OTN, then you can also start RCU as shown above from the rcuHome/bin (on UNIX) or rcuHome\bin (on Windows) directory on your system.

4.1.2.2 Instructions for Dropping the Schemas

Follow the instructions below to drop the Oracle SOA Suite and Oracle BAM schemas:

  1. Welcome Screen

    Click Next.

  2. Create Repository Screen

    Select Drop.

    Click Next.

  3. Database Connection Details Screen

    Provide the following credentials to connect to your Oracle database. These are the same credentials you provided on this screen when you created the Oracle SOA Suite and Oracle BAM schemas. See Section 2.1.3, "Create Schemas for Oracle SOA Suite and Oracle BAM" for more information.

    Click Next. A "Checking Prerequisites" screen will appear. If there are errors, some details about the error will be displayed on the Database Connection Details Screen. Fix the error messages and click Next again.

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

  4. Select Components Screen

    Select the prefix and schemas you want to drop from the repository.

    Click Next. A "Checking Prerequisites" screen will appear. If there are errors, some details about the error will be displayed on the Select Components Screen. Fix the error messages 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 will appear. If there are errors, some details about the error will be displayed on the Summary Screen. Fix the error messages and click Next again.

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

  6. Completion Summary Screen

    Click Close.

4.1.3 Removing Oracle SOA Suite

The deinstaller will attempt to remove the SOA Oracle Home from which it was started. This procedure will not remove any WebLogic domains that you have created - it only removes the software in the SOA Oracle Home.

Before you choose to remove your SOA Oracle Home, make sure that it is not in use by an existing domain, and also make sure 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.

4.1.3.1 Starting the Deinstaller

Go to the SOA_ORACLE_HOME/oui/bin (for UNIX) or SOA_ORACLE_HOME\oui\bin (for Windows) directory and start the deinstaller.

On UNIX:

./runInstaller.sh -deinstall -jreLoc JRE_LOCATION

On Windows:

setup.exe -deinstall -jreLoc JRE_LOCATION

Note:

Specify the absolute path to your JRE_LOCATION; relative paths are not supported.

4.1.3.2 Deinstallation Screens and Instructions

Follow the instructions in Table 4-1 to deinstall Oracle SOA Suite 11g Release 1 (11.1.1).

Note:

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

If you need additional help with any of the deinstallation screens, refer to Appendix C, "Oracle SOA Suite Deinstallation Screens" or click Help to access the online help.

Table 4-1 Deinstallation Flow

No. Screen Description and Action Required

1

Welcome Screen

Click Next to continue.

2

Deinstall Oracle Home Screen

Verify the Oracle Home you are about to deinstall.

Click Deinstall to continue.

3

Deinstall Progress Screen

This screen shows the progress and status of the deinstallation.

4

Deinstall Completed Screen

Click Finish to dismiss the screen.


4.1.4 Removing Oracle WebLogic Server

To deinstall Oracle WebLogic Server:

  1. Start the deinstaller from the WebLogic_Home/uninstall (for UNIX) or WebLogic_Home\uninstall (for Windows) directory. You specified the location of the WebLogic Home directory on the Choose Product Installation Directories Screen in Section 2.1.4, "Install Oracle WebLogic Server and Create the Middleware Home".

    On UNIX systems:

    ./uninstall.sh
    

    On Windows systems:

    uninstall.cmd
    

    On Windows systems, you can also start the deinstaller from the Start menu by selecting Programs > Oracle WebLogic > Uninstall Oracle WebLogic.

  2. Welcome Screen

    Click Next.

  3. Choose Components Screen

    By default, all components are selected.

    Click Next.

  4. Uninstalling WebLogic Platform Screen

    Click Done.

4.1.5 Removing Oracle JDeveloper

If you have installed Oracle JDeveloper on your system, refer to Oracle Fusion Middleware Installation Guide for Oracle JDeveloper for instructions on how to remove this software from your system.

4.1.6 Removing the Oracle Home and JDeveloper Home Directories

Manually remove the SOA Oracle Home directory and all sub-directories. For example, if your SOA Oracle Home directory was /home/Oracle/Middleware/Oracle_SOA1 on a UNIX system:

> cd /home/Oracle/Middleware
> rm -rf Oracle_SOA1

On a Windows system, if your SOA Oracle Home directory was C:\Oracle\Middleware\Oracle_SOA1, use a file manager window and navigate to the C:\Oracle\Middleware directory, then right-click on the Oracle_SOA1 folder and select Delete.

Repeat this procedure for your Oracle JDeveloper installation directories, as the deinstaller removes the software but not all of the installation directories. Before doing so, make sure you save any projects that you do not want to delete.

On Windows systems, you must also manually remove the program groups from the Start Menu\Programs folder. As an example (the folder names and program group names on your system may be different), you might remove the following from C:\Documents and Settings\All Users\Start Menu\Programs:

  • Oracle Fusion Middleware 11.1.1.1.0

  • Oracle SOA Suite 11g - Home1

  • Oracle WebLogic

4.2 Reinstallation

The installer does not allow reinstallation of Oracle SOA Suite in a directory that already contains an Oracle product. To reinstall Oracle SOA Suite in the same directory as before, you must follow the instructions in this chapter to deinstall the software, then follow the instructions in Chapter 2, "Installing Oracle SOA Suite" to reinstall the software.