Hitachi

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


2.15.4 list-resource-refs

Lists the existing resource references.

Synopsis

asadmin [asadmin-options] list-resource-refs [--help]
    [target]

Storage location

Application Server installation directory/javaee/glassfish/bin

Function

The list-resource-refs subcommand of asadmin lists all the resource references in a cluster or an unclustered server instance. This effectively lists all the resources (for example, JDBC resources) available in the JNDI tree of the specified target. This subcommand is supported in remote mode only.

The target instance or instances in the cluster need not be running or available for this command to succeed.

Precondition

Domain Administration Server (DAS) is running.

Arguments

--help | -?

Displays the help text for the subcommand.

target

Displays the target for which the resource references are to be listed.

Type: String

The following values can be specified:

  • server

    Lists the resource references for the default server instance. This is the default value.

  • cluster_name

    Lists the resource references for every server instance in the cluster.

  • instance_name

    Lists the resource references for the named unclustered server instance.

Default value: server

Examples

The following example lists resource references for the cluster cluster1.

asadmin list-resource-refs cluster1

Exit Status

Exit Status

Explanation

0

subcommand executed successfully.

1

error in executing the subcommand.