asadmin [asadmin-options] create-module-config [--help]
[--dryrun={false|true}]
[--all={false|true}]
[--target target]
[service_name]
|
create-module-config DRAFT |
| Previous | Next | Contents |
adds the default configuration of a module to domain.xml
Synopsis
asadmin [asadmin-options] create-module-config [--help]
[--dryrun={false|true}]
[--all={false|true}]
[--target target]
[service_name]
Description
The create-module-config subcommand adds the default configuration of
a module to domain.xml.
This subcommand is supported in remote mode only.
Options
Options for the asadmin utility. For information about these
options, see the asadmin(1M) help page.
--help-?Displays the help text for the subcommand.
--dryrunDisplays the default configuration of a module but does not add it to
domain.xml. The default value is false.
--allAdds all default configurations of modules to domain.xml if they are
not already in it. The default value is false.
--targetSpecifies the target to which the default configuration is being
added.
Possible values are as follows:
serverAdds the default configuration to the default server instance. This is the default value.
domainAdds the default configuration to the default domain.
Adds the default configuration to every server instance in the specified cluster.
Adds the default configuration to the specified instance.
Operands
The name of the module for which the default configuration is to be added.
Examples
Example 1 Adding a Default Configuration to domain.xml
This example adds the default configuration of the web container module
to domain1 in server-config (the default configuration). Use the
--dryrun option to preview the configuration before it is added.
asadmin> create-module-config web-container
Command create-module-config executed successfully.
Exit Status
subcommand executed successfully
error in executing the subcommand
See Also
| Previous | Next | Contents |
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
DRAFT