5 Uninstalling Oracle WebLogic Server and Coherence
This section includes the following topics:
- About Product Uninstallation
The deinstaller removes the software from the Oracle home directory that you start it in. - Stopping Oracle WebLogic Server
Before you run the deinstaller, Oracle recommends that you stop all servers and processes associated with the Oracle home you are going to remove. - Uninstall the Software
Follow steps in this section to start the product deinstaller and remove the software. - Removing Oracle Home Directory Manually
After deinstalling the software, you must manually remove your Oracle home directory and any existing subdirectories that the deinstaller did not remove. - Removing Program Shortcuts on Windows Operating Systems
On Windows operating systems, you must manually remove the program shortcuts; the deinstaller does not remove them for you. - Removing Your Domain and Application Data
After deinstalling the software, you must remove the domain and application data if you don’t plan to use it or if you don’t plan to reconfigure a domain for a new WebLogic Server installation.. - Reinstalling Your Software
You can reinstall your software into the same Oracle home as a previous installation only if you uninstalled the software by following uninstallation instructions, including manually removing the Oracle home directory.
About Product Uninstallation
The deinstaller removes the software from the Oracle home directory that you start it in.
The deinstaller removes only components that the installation program installed; the deinstaller does not remove:
-
All files and directories in the Oracle home.
-
The JDK or any user-created data, such as WebLogic domains or custom application data.
The following table summarizes the procedure and has links to supporting documents.
Table 5-1 Roadmap for Uninstalling Oracle Fusion Middleware
Task | Description and Documentation | Documentation |
---|---|---|
Stop Oracle Fusion Middleware. |
Oracle recommends that you stop all servers and processes in your domain before you run the deinstaller |
|
Remove the software. |
Run the product deinstaller to remove Oracle WebLogic Server and Coherence. |
|
Remove the Oracle home directory. |
The deinstaller does not remove all files and folders from the Oracle home directory. After the deinstaller finishes, you must manually remove the Oracle home to complete your product removal. |
|
Remove program shortcuts (Windows operating systems) |
The deinstaller does not remove the program shortcuts on your Windows operating system. |
|
Remove your domain and application data. |
The deinstaller does not remove data contained in your Domain home or Application home directories, even if they are located inside the Oracle home. You must remove these directories manually. |
Parent topic: Uninstalling Oracle WebLogic Server and Coherence
Stopping Oracle WebLogic Server
Before you run the deinstaller, Oracle recommends that you stop all servers and processes associated with the Oracle home you are going to remove.
See Starting and Stopping Servers in Administering Server Startup and Shutdown for Oracle WebLogic Server.
Parent topic: Uninstalling Oracle WebLogic Server and Coherence
Uninstall the Software
Follow steps in this section to start the product deinstaller and remove the software.
To run a silent (command-line) uninstallation, see Running the Oracle Universal Installer for Silent Deinstallation in Installing Software with the Oracle Universal Installer.
- Start the Uninstallation Program
How you uninstall a program depends on your operating system: Windows or UNIX. - Navigating through Uninstallation Screens
The uninstallation program shows a series of screens, in the order that the following table lists.
Parent topic: Uninstalling Oracle WebLogic Server and Coherence
Start the Uninstallation Program
How you uninstall a program depends on your operating system: Windows or UNIX.
On UNIX operating systems, go to the ORACLE_HOME
/oui/bin
directory and enter the command ./deinstall.sh
On Windows operating systems, choose one of the following options to start uninstallation:
-
From the command line, go to the
ORACLE_HOME
\oui\bin
and enterdeinstall.cmd
. -
From the Start menu, select All Programs, select Oracle, select OracleHome, then select Uninstall Oracle Middleware.
-
Use a file manager window to go to the
ORACLE_HOME
\oui\bin
directory and double click ondeinstall.cmd
Parent topic: Uninstall the Software
Navigating through Uninstallation Screens
The uninstallation program shows a series of screens, in the order that the following table lists.
Uninstallation Screens and Descriptions
If you need additional help with the uninstallation screen, click Help.
Screen | Description |
---|---|
Introduces you to the product deinstaller. |
|
Shows the Oracle home directory and its contents to deinstall. Verify that this is the correct directory. Click Deinstall to begin removing the software. |
|
Shows the deinstallation progress. |
|
Opens when the deinstallation is complete. Review this screen then click Finish to dismiss the deinstaller. |
Parent topic: Uninstall the Software
Removing Oracle Home Directory Manually
After deinstalling the software, you must manually remove your Oracle home directory and any existing subdirectories that the deinstaller did not remove.
For example, if your Oracle home directory is /home/Oracle/products/Oracle_Home
on a UNIX operating system:
cd /home/Oracle/products rm -rf Oracle_Home
On a Windows operating system, if your Oracle home directory was C:\Oracle\Products\Oracle_Home
, use a file manager window and navigate to the C:\Oracle\Products
directory, then right-click on the Oracle_Home
folder and select Delete.
Parent topic: Uninstalling Oracle WebLogic Server and Coherence
Removing Program Shortcuts on Windows Operating Systems
On Windows operating systems, you must manually remove the program shortcuts; the deinstaller does not remove them for you.
Go to the C:\Program Data\Microsoft\Windows\Start Menu\Programs\Oracle\
Oracle Home
\
Product
directory. If you only have one product installed in your Oracle home, you can remove the Oracle Home
directory. If you have multiple products installed in your Oracle home, you must remove all products before removing the Oracle Home
.
Parent topic: Uninstalling Oracle WebLogic Server and Coherence
Removing Your Domain and Application Data
After deinstalling the software, you must remove the domain and application data if you don’t plan to use it or if you don’t plan to reconfigure a domain for a new WebLogic Server installation..
To remove your domain and application data:
Parent topic: Uninstalling Oracle WebLogic Server and Coherence
Reinstalling Your Software
You can reinstall your software into the same Oracle home as a previous installation only if you uninstalled the software by following uninstallation instructions, including manually removing the Oracle home directory.
When you reinstall, you can then specify the same Oracle home as your previous installation.
Consider the following cases where the Oracle home is not empty:
- Scenario: Installing in an Existing Oracle Home that Contains the Same Feature Sets
The installer warns you that the Oracle home you specified during installation already contains the software you're trying to install now. - Scenario: Installing in an Existing, Non-Empty Oracle Home
You chose to create your Domain home or Application home somewhere inside your existing Oracle home. The uninstallation process does not remove this data, so if you try to reinstall into the same Oracle home, the installer does not allow it.
Parent topic: Uninstalling Oracle WebLogic Server and Coherence
Scenario: Installing in an Existing Oracle Home that Contains the Same Feature Sets
The installer warns you that the Oracle home you specified during installation already contains the software you're trying to install now.
Your options:
-
Select a different installation type. In this case, only feature sets that do not already exist in the Oracle home directory get installed.
-
Select a different Oracle home directory.
Parent topic: Reinstalling Your Software
Scenario: Installing in an Existing, Non-Empty Oracle Home
You chose to create your Domain home or Application home somewhere inside your existing Oracle home. The uninstallation process does not remove this data, so if you try to reinstall into the same Oracle home, the installer does not allow it.
Your options:
-
Uninstall your software from the Oracle home then remove the Oracle home directory. You can then reinstall and reuse the same Oracle home location, using the instructions in Uninstalling Oracle WebLogic Server and Coherence. You must re-create any domain or application data that was in the Oracle home.
-
Select a different Oracle home directory.
Parent topic: Reinstalling Your Software