Previous Contents Index Next |
Sun Java System Application Server 7 2004Q2 Installation Guide

> ## Chapter 3
> Uninstalling the Standard and Enterprise Edition Software

> This chapter contains instructions for uninstalling the Sun Java System Application Server software from your system.

> The following topics are addressed here:

> - About Uninstalling
> - Uninstalling the Application Server Software
> - Uninstalling in Silent Mode (non-interactive)

> ##

> About Uninstalling

> The installation program enforces component dependencies as specified for each component. Once component dependencies are satisfied, component life cycles are independent.

> Uninstallation failure will result in a complete rollback of the installation, requiring you to reinstall the product.

> Note | If an uninstallation fails, you may need to clean up some leftover files or processes before attempting a new installation. See the Sun Java System Application Server Troubleshooting Guide.

> All components are uninstalled. Partial uninstallation is not supported.

> ### Uninstallation Requirements

> The following must be true for uninstallation to succeed on Enterprise Edition:

> - All databases are stopped and disabled prior to uninstalling.

> For guidelines on stopping the HADB, refer to the Sun Java System Application Server Administration Guide.

> - All database hosts are reachable by SSH or RSH for the root user.

> For instructions on setting this up HADB communications, refer to Setting Up Host Communication.

> - The uninstallation program is run from the original installation host.

> ##

> Uninstalling the Application Server Software

> The uninstallation program detects any running Sun Java System Application Server processes and stops them before continuing to uninstall.

> Note | If your JDK used in the product is installed in a non-default directory, you must run: uninstall -javahome valid_j2se_directory where valid_j2se_directory is the path to your JDK installation.

> To uninstall the Application Server software, perform the following steps:

> 1. Log in as the same user who performed the installation on the machine where you want to uninstall the Sun Java System Application Server software.
> 2. Navigate to your machine’s Sun Java System Application Server installation directory.
> 3. Select your installation method.
> - To run uninstallation using the graphical interface: ./uninstall
> - To run uninstallation using the command-line interface: ./uninstall -console
> 4. Click Uninstall to start the uninstallation process.

> A details listing displays the top portion of the log file. Complete information on the uninstallation can be found in the uninstallation log file specified at the end of the details listing:

> 5. uninstall Log for Solaris SPARC, x86 and Linux: /var/tmp/Sun_ONE_Application_Server_uninstall.log
> 6. uninstall Log for Microsoft Windows: installdir\uninstall.log
> 7. Low-level log
> - For file-based Solaris SPARC and x86 root user: /var/sadm/install/logs/Sun_ONE_Application_Server_uninstall.timestamp
> - For file-based Solaris SPARC and x86 non-root user: /var/tmp/Sun_ONE_Application_Server_uninstall.timestamp
> - For package-based Solaris SPARC and x86: /var/sadm/install/logs/Sun_ONE_Application_Server_uninstall.timestamp
> - For file-based Linux root and non-root user: /var/tmp/Sun_ONE_Application_Server_uninstall.timestamp
> - For RPM-based Linux: /var/tmp/Sun_ONE_Application_Server_uninstall.timestamp
> 8. Select Close to quit the uninstallation program.
> 9. Verify that uninstallation succeeded by checking to see that the Application Server components have been removed from the system.

> ##

> Uninstalling in Silent Mode (non-interactive)

> To uninstall the Application Server software in non-interactive silent mode:

> 1. Log in as the same user who performed the installation on the machine where you want to uninstall the Application Server software.
> 2. Start silent uninstallation: uninstall -silent

> When the prompt is returned, the silent uninstallation is completed.

> 3. Verify that uninstallation succeeded by checking to see that the Sun Java System Application Server components have been removed from the system.
> 4. Repeat this process for each server which you want to uninstall.

> Previous Contents Index Next

> Copyright 2004 Sun Microsystems, Inc. All rights reserved.