2.23.4 list-batch-runtime-configuration
Displays the configuration of the batch runtime.
Synopsis
asadmin [asadmin-options] list-batch-runtime-configuration [--help] [--target target] [--output output] [--header={false|true}]
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
The list-batch-runtime-configuration subcommand displays the configuration of the batch runtime. Batch runtime configuration data is stored in the config element in the domain.xml file.
Precondition
Domain Administration Server (DAS) is running.
Files
Batch runtime configuration data is stored in the config element in domain.xml.
Arguments
- --help | -?
-
Displays the help text for the subcommand.
- --target target
-
Specifies the target for which to list the batch runtime configuration.
Type: String
The following values can be specified:
-
server
Lists the batch runtime configuration for the default server instance server and is the default value.
-
cluster-name
Lists the batch runtime configuration for every server instance in the cluster.
-
instance-name
Lists the batch runtime configuration for a particular server instance.
Default value: server
-
- --output output | -o output
-
Displays specific details about the batch runtime configuration.
Use a comma-separated list to specify the details to display and their order. The values are case-insensitive.
The datasourcelookupname and executorservicelookupname column headings are displayed by default.
Type: String
The following values can be specified:
-
datasourcelookupname
The JNDI lookup name of the data source used to store job information. By default, the batch runtime uses the default data source jdbc/__BatchPool.
-
executorservicelookupname
The JNDI lookup name of the managed executor service used to provide threads to jobs. By default, the batch runtime uses the default managed executor service concurrent/__defaultManagedExecutorService.
Default value: datasourcelookupname, executorservicelookupname
-
- --header={false|true} | -h={false|true}
-
Specifies whether column headings are displayed when the --long option is used. The default value is true. To suppress the headings, set the --header option to false.
Type: Boolean
The following values can be specified:
-
true
-
false
Default value: true
-
Examples
The following example lists the configuration of the batch runtime for the server instance instance1.
asadmin list-batch-runtime-configuration --target instance1
Exit Status
Exit Status |
Explanation |
---|---|
0 |
subcommand executed successfully. |
1 |
error in executing the subcommand. |