From the command line, navigate to the bin directory in the Web Server installation directory (/sun/webserver7/bin by default on UNIX and C:Program Files\Sun\WebServer7\bin on Windows), and start the uninstallation program with the following command:
(UNIX)./uninstall --silent
(Windows) uninstall --silent
Use ./uninstall --saveinstances –console if you want to capture instance configuration information before the instance is uninstalled. Otherwise, all configuration information is removed during the uninstall process.