Skip Headers
Oracle GlassFish Server Reference Manual
Release 3.1.2

Part Number E24938-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

list-jndi-resources

lists all existing JNDI resources

Synopsis

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

Description

The list-jndi-resources subcommand identifies all existing JNDI resources.

This subcommand is supported in remote mode only.

Options

--help
-?

Displays the help text for the subcommand.

Operands

target

The target for which the JNDI resources are to be listed. Valid values are as follows:

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 server instances in the specified cluster.

instance-name

Lists the JNDI resources on a specified server instance.

Examples

Example 1   Listing JNDI Resources

This example lists the JNDI resources on the default server instance.

asadmin> list-jndi-resources
jndi_resource1
jndi_resource2
jndi_resource3
Command list-jndi-resources executed successfully

Exit Status

0

subcommand executed successfully

1

error in executing the subcommand

See Also

create-jndi-resource(1), delete-jndi-resource(1)

asadmin(1M)