A Deinstalling and Reinstalling Oracle Service Bus

This appendix provides information about deinstalling and reinstalling Oracle Service Bus on your system.

Always use the instructions provided in this appendix for removing the software. If you try to remove the software manually, you may experience problems when you try to reinstall the software. Following the procedures in this appendix ensures that the software is properly removed.

The following topics are covered:

A.1 Deinstallation Instructions

The deinstaller attempts to remove the Oracle home directory from which it was started. Before you choose to remove your Oracle Service Bus Oracle home directory, make sure that it is not in use by an existing domain and that you stop all running processes that use this Oracle home.

Deinstalling Oracle Service Bus will not remove any WebLogic domains that you have created—it only removes the software in the Oracle Service Bus Oracle home directory.

Properly removing Oracle Service Bus from your system involves the following tasks:

A.1.1 Stopping Oracle Fusion Middleware

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

For instructions, refer to "Starting and Stopping Oracle Fusion Middleware" in Oracle Fusion Middleware Administrator's Guide.

To stop Node Manager, see the instructions in "Stopping Node Manager" in Oracle Fusion Middleware Node Manager Administrator's Guide for Oracle WebLogic Server.

A.1.2 Removing Database Schemas

If you are using the Reporting feature or Oracle Web Services Manager policies and you have installed database schemas, run Repository Creation Utility (RCU) to drop the schemas from your database.

For instructions, refer to "Dropping Schemas" in Oracle Fusion Middleware Repository Creation Utility User's Guide.

A.1.3 Removing Oracle Service Bus

Deinstalling Oracle Service Bus involves removing the Oracle Service Bus Oracle home and also the Oracle Common home directories.

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

Before you choose to remove your Oracle Service Bus 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.

A.1.3.1 Removing the Oracle Service Bus Oracle Home

To start the deinstaller, navigate to the OSB_ORACLE_HOME/oui/bin (on UNIX operating systems) or OSB_ORACLE_HOME\oui\bin (on Windows operating systems) directory and start the deinstaller.

On UNIX operating systems:

./runInstaller.sh -deinstall

On Windows operating systems:

setup.exe -deinstall

On Windows operating systems, you can also start the deinstaller from the Start menu by selecting Programs > Oracle Service Bus 11g - Home1 > Uninstall.

Follow the instructions in Table A-1 to deinstall your software.

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

Table A-1 Deinstallation Flow

Screen Description and Action Required

Welcome

The installer displays this screen when you are about to deinstall one or more Oracle Fusion Middleware software components.

Deinstall Oracle Home

Verify the Oracle home you are about to deinstall.

Click Deinstall to continue.

On the Warning screen, select whether or not you want the deinstaller to remove the Oracle home directory in addition to removing the software.

Click Yes to have the deinstaller remove the software and Oracle home, No to remove only the software, or Cancel to return to the previous screen.

If you select No, go to Section A.1.3.3, "Manually Removing Your Oracle Home Directories" for instructions on how to manually remove your Oracle home directory.

Deinstallation Progress

This screen shows the progress and status of the deinstallation.

Deinstallation Completed

This screen summarizes the deinstallation that was just completed.

Click Finish to dismiss the screen.


A.1.3.2 Removing the Oracle Common Home

This section describes how to remove the oracle_common directory. This directory contains its own deinstaller in oui/bin (on UNIX operating systems) or oui\bin (on Windows operating systems), just like any other Oracle home directory.

To start the deinstaller, navigate to the MW_HOME/oracle_common/oui/bin (on UNIX operating systems) or MW_HOME\oracle_common\oui\bin (on Windows operating systems) directory and start the deinstaller.

On UNIX operating systems:

./runInstaller -deinstall -jreLoc JRE_LOCATION

On Windows operating systems:

setup.exe -deinstall -jreLoc JRE_LOCATION

Note:

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

After the deinstaller is started, follow the instructions in Table A-1 to remove the Oracle Common home directory.

A.1.3.3 Manually Removing Your Oracle Home Directories

If you selected No on the warning screen during deinstallation, you must manually remove your Oracle home directories and all sub-directories. For example, if your Oracle Service Bus Oracle home directory was /home/Oracle/Middleware/Oracle_OSB1 on a UNIX operating system:

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

On a Windows operating system, if your Oracle Service Bus Oracle home directory was C:\Oracle\Middleware\Oracle_OSB1, use a file manager window and navigate to the C:\Oracle\Middleware directory, then right-click on the Oracle_OSB1 folder and select Delete.

The same procedure can be used to manually remove the Oracle Common home (oracle_common) directory.

A.1.4 Removing Oracle WebLogic Server

Instructions for removing Oracle WebLogic Server are provided in "Uninstalling the Software" in Oracle Fusion Middleware Installation Guide for Oracle WebLogic Server.

After the software is removed, you must manually remove the Middleware home directory and all sub-directories. For example, if your Middleware home directory was /home/Oracle/Middleware on a UNIX operating system:

> cd /home/Oracle
> rm -rf Middleware

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

A.1.5 Removing the Program Groups (Windows Only)

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

  • Oracle Service Bus 11g - Home1

  • Oracle WebLogic

A.1.6 Rebooting Your System (Windows Only)

On Windows operating systems, you should reboot your computer after you have finished removing all your programs to ensure proper cleanup.

A.2 Reinstalling Oracle Service Bus

The installer does not allow reinstallation of Oracle Service Bus in a directory that already contains an Oracle product. To reinstall Oracle Service Bus 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 Service Bus" to reinstall the software.