Go to your server root and type ./uninstall.
A list of Sun Java System servers currently installed in this location appears.
Find Sun Java System Web Server in the list and type the number next to it at the prompt.
Note that uninstalling Sun Java System Web Server automatically uninstalls the Administration Server, since it is an instance of Sun Java System Web Server.
A list of installed Sun Java System Web Server subcomponents appears.
Select all subcomponents and press Return.
The subcomponents are uninstalled and you return to the command prompt.
The uninstall program does not remove every server file. For example, it does not remove keys and certificates, configuration files, logs, ACL files or the document root.