Dumping namespaces
To diagnose a problem, you might need to collect WebSphere JNDI information. WebSphere Application Server provides a utility that dumps the JNDI namespace. The dumpNamespace.sh
script dumps information about the WebSphere namespace and is very useful when debugging applications when JNDI errors are seen in the WebSphere logs. You can use the utility to dump the namespace so you can see the JNDI tree that the name server (JNDI lookup service provider) is providing to the application. This tool is very useful in JNDI problem determination; for example, debugging incorrect JNDI resource mappings in the case where an application resource is not mapped correctly to a WebSphere configured JNDI resource or the application is using direct JNDI lookups when really it should be using indirect JNDI lookups. For this tool to work, the naming service for the WebSphere server host must be up when this utility is run. In the case of the WebSphere Application Server base, the naming...