Oracle GlassFish Server Reference Manual Release 3.1.2 Part Number E24938-01 |
|
|
View PDF |
browses and queries the JNDI tree
list-jndi-entries [--help] [--context context_name] [target]
Use this subcommand to browse and query the JNDI tree.
This subcommand is supported in remote mode only.
--help
-?
Displays the help text for the subcommand.
--context
The name of the JNDI context or subcontext. If context is not specified, all entries in the naming service are returned. If context (such as ejb
) is specified, all those entries are returned.
This operand specifies the JNDI tree to browse.
Possible values are as follows:
server
Browses the JNDI tree for the default GlassFish Server instance (default). The default instance is the domain administration server (DAS).
domain
Browses the JNDI tree for the current domain.
Browses the JNDI tree for the specified cluster.
Browses the JNDI tree for the specified GlassFish Server instance.
This example browses the JNDI tree for the default GlassFish Server instance.
asadmin> list-jndi-entries
java:global: com.sun.enterprise.naming.impl.TransientContext
jdbc: com.sun.enterprise.naming.impl.TransientContext
ejb: com.sun.enterprise.naming.impl.TransientContext
com.sun.enterprise.container.common.spi.util.InjectionManager:
com.sun.enterprise.container.common.impl.util.InjectionManagerImpl
Command list-jndi-entries executed successfully.
subcommand executed successfully
error in executing the subcommand
create-jndi-resource(1), delete-jndi-resource(1), list-jndi-resources(1)