Use this page to configure use of class loaders by an application.
To view this administrative console page, click Applications > Enterprise Applications > application_name > Class loading and update detection. Attention: If an application is running, changing an application setting causes the application to restart. On stand-alone servers, the application restarts after you save the change. On multiple-server products, the application restarts after you save the change and files synchronize on the node where the application is installed.
Specifies whether to enable class reloading when application files are updated.
Select Reload classes when application files are updated to set reloadEnabled to true in the deployment.xml file for the application. If an application's class definition changes, the application server run time stops and starts the application to reload application classes.
For JavaServer Pages files in a Web module, a Web container reloads JSP files only when the IBM extension jspReloadingEnabled in the jspAttributes of the ibm-web-ext.xmi file is set to true. You can enable JSP reloading during deployment on the JSP Reload Options panel.
Data type | Boolean |
Default | false |
Specifies the number of seconds to scan the application's file system for updated files. The default is the value of the reloading interval attribute in the IBM extension (META-INF/ibm-application-ext.xmi) file of the EAR file.
This Polling interval for updated files setting is the same as the Reload interval in seconds field on the application installation and update wizards.
To enable reloading, specify a value greater than zero (for example, 1 to 2147483647). To disable reloading, specify zero (0). The range is from 0 to 2147483647.
The reloading interval attribute takes effect only if class reloading is enabled.
Data type | Integer |
Units | Seconds |
Default | 3 |
Specifies 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 WebSphere Application Server class loaders is Classes loaded with parent class loader first. By specifying Classes loaded with application class loader first, your application can override classes contained in the parent class loader, but this action can potentially result in ClassCastException or LinkageErrors if you have mixed use of overridden classes and non-overridden classes.
The options are Classes loaded with parent class loader first and Classes loaded with application class loader first. The default is to search in the parent class loader before searching in the application class loader to load a class.
For your application to use the default configuration of Jakarta Commons Logging in WebSphere Application Server, set this application class loader mode to Classes loaded with parent class loader first. For your application to override the default configuration of Jakarta Commons Logging in WebSphere Application Server, your application must provide the configuration in a form supported by Jakarta Commons Logging and this class loader mode must be set to Classes loaded with application class loader first. Also, to override the default configuration, set the class loader mode for each Web module in your application so that the correct logger factory loads.
Data type | String |
Default | Classes loaded with parent class loader first |
Specifies whether to use a single class loader to load all WAR files of the application or to use a different class loader for each WAR file.
The options are Class loader for each WAR file in application and Single class loader for application. The default is to use a separate class loader to load each WAR file.
Data type | String |
Default | Class loader for each WAR file in application |