Hitachi

Hitachi Application Server V10 Command Reference Guide (For UNIX® Systems)


2.16.6 list-jdbc-resources

Lists all JDBC resources.

Synopsis

asadmin [asadmin-options] list-jdbc-resources [--help]
    [target]

Storage location

Application Server installation directory/javaee/glassfish/bin

Function

The list-jdbc-resources subcommand of asadmin displays a list of all the existing JDBC resources. This subcommand is supported in remote mode only.

Precondition

Domain Administration Server (DAS) is running.

Arguments

--help | -?

Displays the help text for the subcommand.

target

Specifies the JDBC resources you want to list.

Type: String

The following values can be specified:

  • server

    Lists all the JDBC resources in the current server. This is the default value.

  • domain

    Lists all the JDBC resources in the current domain.

  • cluster_name

    Lists all the JDBC resources in a cluster.

  • instance_name

    Lists all the JDBC resources for a particular instance.

Default value: server

Examples

The following example lists the current JDBC resources.

asadmin list-jdbc-resources

Exit Status

Exit Status

Explanation

0

subcommand executed successfully.

1

error in executing the subcommand.