delete-module-config
Removes the configuration of a module from domain.xml
.
Description
The delete-module-config
subcommand removes the configuration of a module from domain.xml
and causes the module to use the default configuration included in the module.
This subcommand is supported in remote mode only.
Options
- asadmin-options
-
Options for the
asadmin
utility. For information about these options, see the link:Technical Documentation/Payara Server Documentation/Command Reference/asadmin.adoc#asadmin-1m[asadmin
] help page. --help
-?
-
Displays the help text for the subcommand.
--target
-
Specifies the target from which the configuration is to be deleted.
Possible values are as follows:server
-
Deletes the configuration from the default server instance. This is the default value.
domain
-
Deletes the configuration from the default domain.
- cluster-name
-
Deletes the configuration from every server instance in the specified cluster.
- instance-name
-
Deletes the configuration from the specified instance.
Examples
Example 1 Deleting a Default Configuration From domain.xml
This example deletes the configuration of the web container module from domain1
in server-config
(the default configuration).
asadmin> delete-module-config web-container
Command delete-module-config executed successfully.