Sun Java System Application Server Enterprise Edition 8.2 Installation Guide

Chapter 2 Uninstalling Application Server Software

All components in the current Application Server installation directory are automatically selected for uninstallation.

If you installed Application Server as part of a Java Enterprise System installation, see the Sun Java Enterprise System 5 Installation Guide for UNIX and Sun Java Enterprise System 5 Installation Guide for Microsoft Windows for uninstallation instructions.

If you installed the standalone version of Application Server, it is important to use the uninstall routine described here. If you attempt another method, problems arise when you try to reinstall the same version or when you install a new version.

Running the Uninstallation Program

To uninstall the Application Server software, perform the following steps.

ProcedureTo Run the Uninstallation Program on Solaris or Linux

Before You Begin

Make sure that you have stopped all domains and other related processes, including deploytool, command windows using the installation directory or its subdirectories, and any applications using JavaTM 2 Platform, Standard Edition (J2SETM platform) files bundled with the product.

If you do not stop all domains before the uninstallation, orphaned processes might exist on your system after the uninstallation. Identify the processes using the ps -ef command and terminate them using the kill command.

If you are using HADB, stop the HADB and any associated ma processes.

  1. Navigate to your Application Server installation directory.

  2. Invoke the uninstall program as follows:

    • To uninstall by using the graphical interface, at the command prompt, type:

      ./uninstall

    • To uninstall by using the command-line interface, at the command prompt, type:

      ./uninstall -console

    • To uninstall in silent mode, at the command prompt, type:

      ./uninstall -silent

    The Application Server directory is not automatically removed when you uninstall the product.

Uninstallation Log Files

After uninstallating the Application Server, you can review the log files.

You can review the uninstallation log files at:

You can review the low-level log files at:

ProcedureTo Run the Uninstallation Program on Windows

Before You Begin

Make sure that you have stopped all domains and other related processes, including deploytool, command prompts using the installation directory or its subdirectories, and any applications using Java 2 Platform, Standard Edition (J2SE platform) files bundled with the product.

If you do not stop all domains before the uninstallation, orphaned processes might exist on your system after the uninstallation. On Windows, these processes interfere with the uninstallation, because the uninstallation program is unable to remove files that are in use. Identify the processes using the Task Manager and terminate them using the End Task or End Process buttons.

If using the HADB , stop the HADB and any associated ma processes.

  1. Invoke the uninstallation program in one of the following ways:

    • Under the Sun Microsystems, Application Server EE program group in the Start Programs area of your desktop, click Uninstall.

    • In install-dir, double-click uninstall.exe.

    • Invoke the uninstall program through the Control Panel:

      1. Navigate to the Control Panel.

      2. Choose Add/Remove Programs.

      3. From the list of installed programs, select Sun Java System Application Server Enterprise Edition.

      4. Click Remove.

    The Application Server directory is not automatically removed when you uninstall the product.

Uninstallation of Load Balancing Plugin

If you have the load balancing plugin for Sun Java System Web Server 7.0 installed on the system, application server the uninstallation program removes load-balancing-plugin-specific entries from Sun Java System Web Server 7.0 configuration files. However, these changes that are made to the web server instance configuration do not overwrite the configuration in the web server's config-store. Run the following wadm commands: pull-config and deploy-config commands to preserve the changes to Sun Java System Web Server 7.0 configuration files in the config-store. For more information on running these commands, refer to Sun Java System Web Server 7.0 CLI Reference Manual.


Caution – Caution –

If you do not run these commands after the uninstallation of the load balancing plugin, web server will not start properly.