Showing posts with label dumpnamespace. Show all posts
Showing posts with label dumpnamespace. Show all posts

Universal Test client application

The Rational Application Developer has a IBM Universal Test client enterprise application which is web based application that you can use to test your EJB's or JPA beans or look at the JNDI tree in your server,.. Essentially it is set of tools to troubleshoot problems.

You can follow these steps to enable IBM Universal Test client.


  1. Double click on your server name to open the server definition. On that page check "Enable universal test client " check box


  2. Once you save the server definition you will notice that the UTC application is getting deployed on your server, wait for couple of minutes to get it started

  3. Right click on the Server name and click on Universal test client > Run to access universal test client


  4. The RAD will open http://localhost:10039/UTC/ URL in the browser if you want you can directly access this page from outside the RAD


  5. RAD will prompt you to login use the was admin user and password and you should see next screen with JNDI Explorer, JPA explorer,.. use the section that you want to explore, in my case i went to JNDI explorer to see all the name bindings like this



wsadmin script to print namespace

You can dump namespace of a managed process i.e. either DMGR, NodeAgent or Server using dumpNamespace tool. Other option is to use the following wsadmin script


def printNameSpace(processname):
print "Printing name space for " + processname
nameserver =AdminControl.queryNames("*:*,type=NameServer,process="+porcessname)
print AdminControl.invoke(nameserver,"dumpServerNameSpace",'["-report long"]')

printNameSpace('dmgr')


The printNameSpace command takes name of the process as argument and generates dump which is same as the output of the dumpNameSpace for that process

Finding out the bootstrap port number

In order to use the dumpNameSpace utility you need to know the boot strap port number. You can find it out from the WAS Admin Console, but depending on the server component you will have to use different methods to find out the bootstrap port number

Deployment Manager





Node Agent





Application Server



JNDI dumpNameSpce

The dumpNameSpace tool is used to dump the contents of a name space accessed through a name server. The tool can be run from the websphere_root/AppServer/bin directory in a command



Important Note: The dumpNameSpace command line utility does not dump java: or local: name spaces. These name spaces, along with the server: name space, can be dumped using a Managed Bean (MBean) called NameServer.