IBM


12.4 Class loader viewer

New in V6.0.2: WAS V6.0.2 introduced a new utility called the Class Loader Viewer. When activated, this utility can help you diagnose class loading problems by showing you the different class loaders involved, their settings, and the classes loaded by each of them.

If the Class Loader Viewer Service is not enabled, the Class Loader Viewer only displays the hierarchy of class loaders and their classpaths, but not the classes actually loaded by each of the class loaders. This also means that the search capability of the Class Loader Viewer is lost.

To enable the Class Loader Viewer Service, select Servers  | Application Servers  | <server name> and then click the Class Loader Viewer Service under the Additional Properties link. Then select Enable service at server startup. You will need to restart the appserver for the setting to take effect.

In the next section, we give an example of how to work with the different class loader settings and will then use the Class Loader Viewer also to illustrate the different results.


Redbooks ibm.com/redbooks

Next