# Installing WebLogic RFID Edge Server

# Uninstalling the Software

The following sections provide procedures for uninstalling the software:

- About the Uninstallation Program
- Uninstalling Your Software in Graphical Mode
- Uninstalling Your Software in Console Mode
- Reinstalling Your Software

## About the Uninstallation Program

The following sections describe how to uninstall your BEA software on Windows and UNIX systems. You can uninstall the software using graphical, console, or silent mode. To run the graphical-mode uninstallation program, your console must support a Java-based GUI. If the uninstallation program determines that your system cannot support a Java-based GUI, it automatically starts running in console mode.

You can uninstall individual components of your product distribution, or the entire installation. Dependency checking in the uninstaller ensures that the appropriate components are uninstalled.

The uninstallation program does not remove the BEA Home directory associated with the installation, the JDK, or any user-created domains. Only the components that were installed by the installation program can be removed by the uninstallation program. If you choose to uninstall the entire installation, the uninstallation program also removes the product directory associated with the installation unless one of the following is true:

- The product directory contains user-created configuration or application files—the uninstallation program does not delete user-created configuration files, application files, or domains.
- The complete installation was not uninstalled. If an individual component is uninstalled, only the installation directory for that component is removed; the installation directories for other components are unaffected.
- The uninstallation program was invoked from within the product directory structure—specifically, from within the `uninstall` directory. (To remove all components, run the uninstallation program from a directory that is not under `BEA_HOME` or `RFID_EDGE_HOME`.)

### Uninstalling Service Packs and Rolling Patches

If you have installed a service pack or rolling patch, you can revert your system installation to an earlier version of the release as follows:

- You can revert to the prior service pack installation on your system.
- You can revert a rolling patch upgrade to the service pack on which the rolling patch is based. (Rolling patches are cumulative: each rolling patch replaces all earlier rolling patches on a particular service pack base.) You cannot revert to an earlier rolling patch, however.

Note: | If you install additional components after installing a service pack or rolling patch, you cannot roll back to any previous versions of the product.

## Uninstalling Your Software in Graphical Mode

To uninstall the complete product installation, or individual components, in graphical mode:

1. Shut down any servers that are running. If any a server is configured as a Windows service, stop the service(s) before uninstalling the software.
2. Start the uninstallation program as described in Table 11-1.

Table 11-1 Starting the Uninstallation Program in Graphical Mode
To start the uninstallation program on this platform . . . | Perform the following steps . . .
--- | ---
Windows | From the Windows Start menu, choose Start Programs BEA WebLogic RFID Edge Server <version > Uninstall RFID Edge Server. The BEA Uninstaller Welcome window is displayed. Proceed to step 3.
UNIX | Change directory (`cd`) to a location that is not under `BEA_HOME` or `RFID_EDGE_HOME` (the directory in which you installed your WebLogic RFID Edge Server software.) For example, if `BEA_HOME` is `/usr/local/bea`, and `RFID_EDGE_HOME` is `/usr/local/bea/rfid_edge20`, you could use `/tmp` as the location; for example:
    # cd /tmp
Run the `uninstall.sh` script located in the following directory: `RFID_EDGE_HOME/uninstall` For example: `#/usr/local/bea/rfid_edge20/uninstall/uninstall.sh` The BEA Uninstaller Welcome window is displayed.
Note: | If your system supports a graphical user interface, the uninstallation program starts in graphical mode. If your system does not support a graphical user interface, the uninstallation program starts in console mode. If console mode is started, see Uninstalling Your Software in Console Mode for instructions.

3. Click Next to start the uninstall program.
4. In the Choose Components window is displayed, select the components to uninstall by selecting or clearing the appropriate check boxes. Then click Next. By default, all installed components are selected, indicating that they will be removed.
5. Optionally, click Details to view the log file that lists the uninstalled components.
6. Click Done in the BEA Uninstaller window to exit the uninstallation program.

## Uninstalling Your Software in Console Mode

To uninstall the complete product installation, or individual components, by using the command-line interface:

1. Shut down any servers that are running. If a server is configured as a Windows service, stop the service(s) before uninstalling the software.
2. Start the uninstallation program as described in Table 11-2.

Table 11-2 Starting the Uninstallation Program in Console Mode
To start the uninstallation program on this platform . . . | Perform the following steps . . .
--- | ---
Windows | Open a Command Prompt window and go to a directory that is not under `BEA_HOME` or `RFID_EDGE_HOME` (the directory in which you installed your WebLogic RFID Edge Server software.) For example, if `BEA_HOME` is `c:\bea`, and `RFID_EDGE_HOME` is `c:\bea\rfid_edge20`, you could use `c:\` as the location; for example:
    # cd c:\
Run the `uninstall` command located in the following directory: `RFID_EDGE_HOME\uninstall` For example: `> c:\bea\rfid_edge20\uninstall\uninstall -mode=console` The Welcome text is displayed.
UNIX | Change directory (`cd`) to a location that is not under `BEA_HOME` or `RFID_EDGE_HOME` (the directory in which you installed your WebLogic RFID Edge Server software.) For example, if `BEA_HOME` is `/usr/local/bea`, and `RFID_EDGE_HOME` is `/usr/local/bea/rfid_edge20`, you could use `/tmp` as the location; for example:
    # cd /tmp
Run the `uninstall.sh` script located in the following directory: `RFID_EDGE_HOME/uninstall` For example: `# /usr/local/bea/rfid_edge20/uninstall/uninstall.sh -mode=console` The Welcome text is displayed.

3. Press Enter or type `next` to proceed to the next panel of the uninstallation program.

Note: | Instead of typing complete words when you want to enter `[Exit]`, `[Previous]`, and `[Next]`, you can use the following one-letter shortcuts: `x`, `p`, and `n`, respectively.

4. In the Choose Components window, select the components you want to uninstall. By default, all installed components are selected, indicating that they will be removed.

To leave a component installed on your system, type the numeric code for that component on the command line, exactly as it appears within the brackets.

Dependency checking is performed to ensure that you do not uninstall a component that is required by another component.

5. Press Enter or type `next` to proceed with the uninstallation process.
6. When the uninstallation process is complete, press Enter or type `exit` to complete the uninstallation and exit the uninstallation program.

## Reinstalling Your Software

You cannot reinstall the same version of any BEA product on top of a previously installed version of the same product in the same BEA Home directory or in the same file location. You can, however, add products and product components to an existing installation. For example, you can install WebLogic Server during one installation, and WebLogic RFID Edge Server during a separate installation.

To reinstall the same version of one of the product components or the entire distribution in the same location, you must first uninstall the previous installation.

If you try to install a complete copy of a BEA product's software in a BEA Home directory that already contains a complete installation, an error message is displayed. Click or type `OK` to return to the Choose BEA Home directory prompt.

At the prompt, choose one of the following options:

- To continue installing the software using a different BEA Home directory, select an existing BEA Home directory that does not contain a previous installation, or create a new BEA Home directory.
- Exit the installation program. If you want to reinstall your BEA Products software in the same BEA Home, you must uninstall the previous installation. You can invoke the uninstall program appropriate for your platform, as described in one of the following sections:

- Uninstalling Your Software in Graphical Mode
- Uninstalling Your Software in Console Mode

Then reinstall the software as described in Starting the Installation Program.