list-jdbc-resources
Lists all JDBC resources.
Description
The list-jdbc-resources
subcommand displays a list of the existing JDBC resources.
This subcommand is supported in remote mode only.
Options
- asadmin-options
-
Options for the
asadmin
utility. For information about these options, see theasadmin
help page. --help
-?
-
Displays the help text for the subcommand.
Operands
--target
-
This operand specifies which JDBC resources you can list. Usage of this operand is optional. Valid values are:
server
-
Lists the JDBC resources in the current server and is the default.
domain
-
Lists the JDBC resources in the current domain.
- cluster_name
-
Lists the JDBC resources in a cluster.
- instance_name
-
Lists the JDBC resources for a particular instance.
Examples
Example 1 Listing the JDBC Resources
This example lists the current JDBC resources.
asadmin> list-jdbc-resources
jdbc/DerbyPool
Command list-jdbc-resources executed successfully.
shell