delete-config <connect_options> [--echo|-e] [--no-prompt|-Q] [--verbose|-v] config-name
Use this command to delete a configuration. Configuration with the specified name will be deleted from install-dir/admin-server/config-store. You can delete a configuration only if the configuration has no server instances referring to it.
Do not edit any file under the config-store directory. The files under this directory are created by Sun Java System Web Server for internal use.
For connect_options description, see help(1).
Specify this option to print this command on the standard output before executing. This option also prints the default value for all the non-mandatory options that you do not provide in the command.
If you specify this option, wadm will not prompt you for passwords while executing this command. Use this option if you have defined all passwords in a password file and specified the file using the --password-file connect_option.
Specify this option to display a verbose output.
wadm delete-config --user=admin --password-file=../admin.passwd --host=serverhost --port=8989 --ssl=true --no-prompt --rcfile=null config1
The following exit values are returned:
command executed successfully
error in executing the command