Hitachi

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


2.18.6 list-jndi-resources

Lists all the existing JNDI resources.

Synopsis

list-jndi-resources [--help] [target]

Storage location

Application Server installation directory/javaee/glassfish/bin

Function

The list-jndi-resources subcommand of asadmin identifies all the existing JNDI 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 target for which the JNDI resources are to be listed.

Type: String

The following values can be specified:

  • server

    Lists the JNDI resources on the default server instance. This is the default value.

  • configuration-name

    Lists the JNDI resources for the specified configuration.

  • cluster-name

    Lists the JNDI resources on all the server instances in the specified cluster.

  • instance-name

    Lists the JNDI resources on a specified server instance.

Default value: server

Examples

The following example lists the JNDI resources on the default server instance.

asadmin list-jndi-resources

Exit Status

Exit Status

Explanation

0

subcommand executed successfully.

1

error in executing the subcommand.