This procedure uninstalls the WebSphere Application Server product from a Solaris system. After running the uninstaller program, manual steps remove log files and registry entries that can prevent you from reinstalling the product into the original directory. If you are not planning to reinstall, do not uninstall manually.
Before you begin
The uninstaller program removes all profiles, including all of the configuration data and applications in each profile. Before you start the uninstall procedure, back up the config folder, the installableApps folder, and the installedApps folder of each profile, if necessary. See Using command line tools for a description of managing configuration files. Back up all applications that are not stored in another location.
Determine the installation root directory for the product so that you remove the correct product and produce a clean system.
Why and when to perform this task
Reinstalling the product into a new directory when files remain from a previous installation can create a coexistence scenario. However, you can delete all files and registry entries to completely remove a WebSphere Application Server product. A clean system lets you reinstall the product into the original directory without coexistence.
Identifier | Directory | Actual location |
---|---|---|
install_root | /opt/IBM/WebSphere/AppServer | |
profiles_install_root | /opt/IBM/WebSphere/AppServer/profiles | |
plug-ins_install_root | /opt/IBM/WebSphere/Plugins |
Perform the following procedure to produce a clean system.
Steps for this task
If a Web server is configured to run with the application server, uninstall the plug-ins to remove the configuration from the Web server. See Uninstalling the Web server plug-ins for WebSphere Application Server.
If you have already run the uninstaller program or if you cannot run the uninstaller program, simply skip this step.
install_root/_uninst/uninstall
See the description of the uninstall command for more information.
The Uninstaller wizard begins and displays the Welcome panel.
ps -ef | grep javaStop all WebSphere Application Server-related processes with the kill -9 java_pid_1 java_pid_2...java_pid_n command.
pkginfo | grep WS
application WSBAA60 WebSphere Application Server
cd /var/sadm/pkg
pkgrm packagename1 packagename2 packagename3 ...
Do not remove packages for WebSphere Application Server products that you are not uninstalling. Version 6 package names have a prefix of WSB or WSP and a suffix of 60. WSC package names do not have a suffix of 60.
WSPAA60 WSPAA60AC WSPAA60BC WSPAA60CC WSPAA60DC WSPAA60FC WSPAA60FB WSPAA60GC WSPAA60HC
/var/sadm/pkg/WSBAA60/install/preremove
The file location is the home directory, ~/.WASRegistry.
The .WASRegistry file contains a one-line entry for each WebSphere Application Server product installation.
You can delete the file if there is just one line that identifies the product that you are removing. Otherwise, use a flat-file editor to remove the line that identifies the installation root directory of the product that you are removing. Leave the other lines intact. Do not delete the .WASRegistry file unless you are removing all of the installations listed in the file.
/opt/IBM/WebSphere/AppServer /opt/IBM/P1/AppServer /opt/V6/IBM/WebSphere/AppServer /opt/P2/IBM/WebSphere/AppServer /opt/P3/IBM/WebSphere/AppServer
Result
This procedure results in having a clean system. You can reinstall into the same directories now. A clean system has no trace of a previously deleted installation.
What to do next
Go to Task overview: Installing to begin planning a new installation.