2.6.9 delete-config
Deletes an existing named configuration.
Synopsis
asadmin [asadmin-options] delete-config [--help] configuration-name
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
The delete-config subcommand deletes an existing named configuration from the configuration of the domain administration server (DAS). You can delete a configuration only if no server instances or clusters refer to the configuration. A standalone configuration is automatically deleted when the instance or cluster that refers to it is deleted. You cannot delete the default-config configuration that is copied to create standalone configurations.
This subcommand is supported in remote mode only.
Precondition
DAS has to be in a running state.
Arguments
- --help | -?
-
Displays the help text for the subcommand.
- configuration-name
-
Specifies the name of the configuration.
Type: String
The following values can be specified:
-
Name of the configuration
Default value: N/A
-
Examples
The following example deletes the named configuration pmdconfig.
asadmin delete-config pmdconfig
Exit Status
Exit Status |
Explanation |
---|---|
0 |
command executed successfully. |
1 |
error in executing the command. |