Network Deployment (Distributed operating systems), v8.0 > Reference > Sets


Class loader settings

Use this page to configure a class loader for applications that reside on an application server. From the console...

    Servers > Server types > WebSphere application servers > server_name

. Under Server Infrastructure, expand Java and Process Management then click Class loader. Click on a Class_loader_ID.


Class loader ID

Specifies a string that is unique to the server identifying the class-loader instance. The product assigns the identifier.

Data type String


Class loader order

Whether the class loader searches in the parent class loader or in the application class loader first to load a class. The standard for development kit class loaders and WAS class loaders is Classes loaded with parent class loader first. By specifying Classes loaded with local class loader first (parent last), the application can override classes contained in the parent class loader, but this action can potentially result in ClassCastException or LinkageErrors if we have mixed use of overridden classes and non-overridden classes.

The options are Classes loaded with parent class loader first and Classes loaded with local class loader first (parent last). The default is to search in the parent class loader before searching in the application class loader to load a class.

For the application to use the default configuration of Jakarta Commons Logging in this product, set this application class loader order to Classes loaded with parent class loader first. For the application to override the default configuration of Jakarta Commons Logging, the application must provide the configuration in a form supported by Jakarta Commons Logging and this class loader order must be set to Classes loaded with local class loader first (parent last). Also, to override the default configuration, set the class loader order for each web module in the application so that the correct logger factory loads.

Data type String
Default Parent first

Class loading
Troubleshoot class loaders


Related


Library reference collection

+

Search Tips   |   Advanced Search