Stop the Application Server processes using these commands:
asadmin stop-cluster FirstCluster
asadmin remove-ha-cluster --hosts hadb-hostname,hadb-hostname FirstCluster
Replace the hadb-hostname variable with the host name of the machine where HADB is to run. If you are using just one machine, you must name it twice.
asadmin stop-node-agent hostname
asadmin stop-domain domain1
Stop the HADB Management Agent by one of the following methods:
In a Solaris or Linux Java Enterprise System installation:
In a Windows Java Enterprise System installation:
In a stand-alone Solaris or Linux Application Server installation:
In a stand-alone Windows Application Server Installation:
At this point, all processes related to Sun Java System Application Server are stopped.
Uninstall the Application Server.
In a Solaris or Linux Java Enterprise System installation, run var/sadm/prod/entsys/uninstall and follow the steps in the uninstallation wizard.
In a Windows Java Enterprise System installation, use the Control Panel's Add/Remove Programs item. Choose Sun Java Enterprise Systems and click Change/Remove. Remove install-dir\bin from the PATH environment variable and delete the AS_ADMIN_USER variable.
In a Solaris or Linux standalone Application Server installation, run install-dir/uninstall and follow the steps in the uninstallation wizard.
In a Windows standalone Application Server instance, from the Start menu, choose Programs ⇒ Sun Microsystems ⇒ Application Server EE ⇒ Uninstall.
If you created a new Web Server instance for this exercise, delete it:
To uninstall the Web Server product, run the uninstall program from the web-server-install-dir.