Change to the ServiceRegistry-base/install directory.
Run the following command (all on one line):
Solaris: /usr/sfw/bin/ant -f build-install.xml appserver.domain.stop
Linux: /opt/sun/bin/ant --noconfig -f build-install.xml appserver.domain.stop
Run the following command (all on one line):
Solaris: /usr/sfw/bin/ant -f build-install.xml appserver.domain.delete
Linux: /opt/sun/bin/ant --noconfig -f build-install.xml appserver.domain.delete