![]() | |
Sun Java System Application Server Standard and Enterprise Edition 7 2004Q2 Update 2 Installation Guide |
Chapter 3
Uninstalling the Standard and Enterprise Edition SoftwareThis chapter contains instructions for uninstalling the Sun Java System Application Server software from your system.
The following topics are addressed here:
About UninstallingThe 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:
Uninstalling the Application Server SoftwareThe 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:
- 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.
- Navigate to your machine’s Sun Java System Application Server installation directory.
- Select your installation method.
- 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:
- uninstall Log for Solaris SPARC, x86 and Linux: /var/tmp/Sun_ONE_Application_Server_uninstall.log
- uninstall Log for Microsoft Windows: installdir\uninstall.log
- 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
- Select Close to quit the uninstallation program.
- 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:
- Log in as the same user who performed the installation on the machine where you want to uninstall the Application Server software.
- Start silent uninstallation: uninstall -silent
When the prompt is returned, the silent uninstallation is completed.
- Verify that uninstallation succeeded by checking to see that the Sun Java System Application Server components have been removed from the system.
- Repeat this process for each server which you want to uninstall.