When developing or running applications, you might encounter
namespace problems.
About this task
Many naming problems can be avoided by fully understanding
the key underlying concepts of the Naming service.
Procedure
Review the key concepts of the Naming service, especially
the sections about Namespace logical view and Lookup names support
in deployment descriptors and thin clients.
Review the programming examples that are included in the
sections explaining the Java Naming
and Directory Interface (JNDI) and CosNaming interfaces.
Naming service troubleshooting tips Naming is a Java Platform,
Enterprise Edition (Java EE) service which publishes and provides
access to resources such as connection pools, enterprise beans, and
message listeners to client processes. If you have problems in accessing
a resource which otherwise appears to be healthy, the naming service
might be involved.
Application access problems
To resolve problems encountered when a servlet, JavaServer
Pages file, stand-alone application or other client attempts to access
an enterprise bean, ConnectionPool, or other named object hosted by WebSphere Application Server, you must first
verify that the target server can be accessed from the client.
Viewing a namespace dump
To understand why a naming operation is failing, view the
dump of a namespace. You can use the dumpNameSpace tool to dump the
contents of a namespace accessed through a name server. The dumpNameSpace
tool is based on Java Naming and Directory Interface
(JNDI).
dumpNameSpace tool
You can use the dumpNameSpace tool to dump the contents
of a namespace accessed through a name server. The dumpNameSpace tool
is based on Java Naming and Directory Interface
(JNDI).
Viewing java:, local:, and server namespace dumps
To understand why a naming operation is failing, you can
view the dump of a java: or local: namespace.
From the WebSphere Application Server scripting
tool, invoke a NameServer MBean to dump java: or local: namespaces.
Namespace dump utility for java:, local: and server namespaces
Sometimes it is helpful to dump the java: namespace
for a Java Platform, Enterprise Edition (Java EE)
application. You cannot use the dumpNameSpace command line utility
for this purpose because the application's java: namespace
is accessible only by that Java EE application. From the product scripting
tool, you can invoke a NameServer MBean to dump the java: namespace
for any Java EE application running in that same server process.
Last updated: April 18, 2014 05:01 AM CDT http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-nd-iseries&topic=tnam_troubleshoot_jndi File name: tnam_troubleshoot_jndi.html