<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
<!--ArborText, Inc., 1988-1999, v.4002-->
<!ENTITY metainfo SYSTEM "metainfo.sgm">
<!ENTITY options-common SYSTEM "options-common.sgm">
<!ENTITY synopsis-common SYSTEM "synopsis-common.sgm">
<!ENTITY % commonents SYSTEM "smancommon.ent">
%commonents;
<!ENTITY % booktitles SYSTEM "booktitles.ent">
%booktitles;
<!ENTITY Dash "&ndash;">
]>
<?Pub UDT _bookmark _target>
<?Pub EntList brvbar bull cross dash diam diams frac12 frac13 frac14 hellip
 laquo lArr loz mdash nabla ndash para pound rArr raquo sect yen ne>
<?Pub Inc>
<refentry id="list-jndi-entries-1">
<refmeta><refentrytitle>list-jndi-entries</refentrytitle><manvolnum>1</manvolnum>&metainfo;
</refmeta>
<refnamediv><indexterm><primary sortas="list-jndi-entries">list-jndi-entries &mdash;
browses and queries the JNDI tree </primary></indexterm><indexterm><primary
sortas="browses and queries the JNDI tree ">browses and queries the JNDI tree
 &mdash; list-jndi-entries</primary></indexterm><refname>list-jndi-entries
</refname><refpurpose>browses and queries the JNDI tree </refpurpose></refnamediv>
<refsynopsisdiv><title>&synp-tt;</title>
<cmdsynopsis><command>list-jndi-entries</command>&synopsis-common;
<arg>&Dash;&Dash;context <replaceable>context-name</replaceable></arg><arg
choice="plain"><replaceable>target</replaceable></arg>
</cmdsynopsis></refsynopsisdiv>
<refsect1><title>&desc-tt;</title>
<para>Use this command to browse and query the JNDI tree. This command is
supported in remote mode only.</para>
</refsect1>
<refsect1><title>&opts-tt;</title>
<variablelist termlength="medium">&options-common;
<varlistentry><term><option role="nodash">&Dash;&Dash;context</option></term>
<listitem><para>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 <replaceable>ejb</replaceable>) is specified, all those entries are
returned. </para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&oper-tt;</title>
<variablelist termlength="medium">
<varlistentry><term><replaceable>target</replaceable></term><listitem><para>
This operand specifies which configurations you can list. Valid values are
domain, instance, cluster, or server. The default is server.</para>
<para>&se-ee-only;</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&exam-tt;</title>
<example>
<title>Using the list-jndi-entries command</title>
<screen>asadmin><?Pub Caret><userinput>list-jndi-entries --user admin1 --passwordfile /password
--context jdbc server</userinput>
Jndi Entries for server within jdbc context:
__TimerPool: javax.naming.Reference
__TimerPool__pm: javax.naming.Reference
Command list-jndi-resources executed successfully</screen>
</example>
</refsect1>
<refsect1><title>&exit-tt;</title>
<variablelist termlength="medium">
<varlistentry><term>0</term><listitem><para>command executed successfully
</para>
</listitem></varlistentry>
<varlistentry><term>1</term><listitem><para>error in executing the command
</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&also-tt;</title>
<para><link linkend="create-jndi-resource-1"><citerefentry><refentrytitle>
create-jndi-resource</refentrytitle><manvolnum>1</manvolnum></citerefentry></link>, <link
linkend="delete-jndi-resource-1"><citerefentry><refentrytitle>delete-jndi-resource
</refentrytitle><manvolnum>1</manvolnum></citerefentry></link></para>
</refsect1>
</refentry>
<?Pub *0000003559>
