Naming services component troubleshooting tips
"Naming" is a J2EE service which publishes and provides access to resources such as connection pools, enterprise beans, message listeners, etc, to client processes. If you have problems in accessing a resource which otherwise appears to be healthy, the naming service might be involved. To investigate problems with the WAS Naming service...
- Browse the JVM logs for the server which is hosting the resource you are trying to access. Messages starting with NMSV are related to the Naming Service.
- Open the Log Analyzer on the service log of the server which is hosting the resource you are trying to access and use it to browse error and warning messages.
- With WAS running, run the dumpNameSpace command for Windows systems, or the dumpNameSpace.sh command for UNIX and z/OS systems, and pipe, redirect, or "more" the output so that it is easily viewed. This command results in a display of all objects in the WAS namespace, including the directory path and object name.
- If the object a client needs to access does not appear, use the administrative console to verify that...
- The server hosting the target resource is started.
- The Web module or EJB container, if applicable, hosting the target resource is running.
- The JNDI name of the target resource is correct and updated.
- If the problem resource is remote, that is, not on the same node as the Name Server node, that the JNDI name is fully qualified, including the host name. This is especially applicable to Network Deployment configurations
- View detailed information on the run-time behavior of the WAS Naming service by enabling trace on the following components and reviewing the output...
- If you see an exception that appears to be CORBA related ("CORBA" appears as part of the exception name) look for a naming-services-specific CORBA minor code, further down in the exception stack, for information on the real cause of the problem. For a list of naming service exceptions and explanations, see the class com.ibm.websphere.naming.WsnCorbaMinorCodes in the Javadoc topic in the information center .
If none of these steps solve the problem...
- For specific problems that can cause access to named object hosted in WAS to fail, see Cannot look up an object hosted by WebSphere Application Server from a servlet, JSP file, or other client.
- Check to see if the problem has been identified and documented using the links in Diagnosing and fixing problems: Resources for learning.
- If you do not see a problem that resembles yours, or if the information provided does not solve your problem, contact IBM support for further assistance.
For current information available from IBM Support on known problems and their resolution, see IBM Support page.
IBM Support has documents that can save you time gathering information needed to resolve this problem. Before opening a PMR, see IBM Support page.
See AlsoTroubleshooting installation problems