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.
To uninstall the Application Server software, perform the following steps.
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.
Navigate to your Application Server installation directory.
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.
After uninstallating the Application Server, you can review the log files.
You can review the uninstallation log files at:
For Solaris SPARC and x86 root user: /var/sadm/install/logs/Uninstall_Application_Server_8EE_timestamp.log
For Solaris SPARC and x86 non-root user: /var/tmp/Uninstall_Application_Server_8EE_timestamp.log
For Linux root and non-root user: /var/tmp/Uninstall_Application_Server_8EE_timestamp.log
For Windows root and non-root user: %TEMP%\\Uninstall_Application_Server_8EE_timestamp.log
You can review the low-level log files at:
Solaris (root installation): /var/sadm/install/logs/Sun_Java_System_Application_Server_Enterprise_Edition_uninstall.Btimestamp
Solaris (non-root installation): /var/tmp/Sun_Java_System_Application_Server_Enterprise_Edition_uninstall.Btimestamp
Linux: /var/tmp/Sun_Java_System_Application_Server_Enterprise_Edition_uninstall.Btimestamp
Windows: %TEMP%\\Sun_Java_System_Application_Server_Enterprise_Edition_uninstall.Btimestamp
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.
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:
The Application Server directory is not automatically removed when you uninstall the product.
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.
If you do not run these commands after the uninstallation of the load balancing plugin, web server will not start properly.