Summary
In this chapter, we saw that WebSphere Application Server comes with some useful command-line tools. The dumpNameSpace.sh
utility can be used to view the JNDI tree of a running application server, which is very useful to help with debugging the root cause of application failures that involve JNDI resource lookups. Another tool we looked at was the EARExpander.sh
utility which can be used to unpack an EAR file during automated deployments to manipulate the EAR file and repackage it up on the fly. It can also be used during problem diagnosis if the supplied EAR file has problems during deployment. We also learned that IBM provides a graphical tool called the Application Server Toolkit, which is a very powerful instrument that can be used to create J2EE applications and inspect the contents or make changes to an existing EAR file and re-package it for deployment. Another not so well-known fact is that the ASTK can also be used to analyze key log file types produced by WebSphere Application...