How to change IBM WebSphere Application Server’s Class Loading properties (enabling Hot Deployment)


If you need to configure WebSphere App. Servers’ class loading behavior and need to have a hot deployment functionality on your WAS application server. You should follow the following steps;

Click on Applications section on the left menu

Select Enterprise Applications

Click on the enterprise Application (You ear file name-application name)

Click on Class Loading and update detection under the menu Detail Properties

(Enterprise Applications > ApplicationName> Class loader)

Under the menu General Properties

Click on check box near to text –>  Reload classes when application files are updated.

set a value for Polling interval for updated files  textbox such as 10 seconds.

Select radio Classes loaded with parent class loader first under the menu Class loader menu

Select radio Class loader for each WAR file in application under the menu WAR class

Click apply button.

After applying these operations, deploying required classes on WebSphere Application Server (these could be a jar file) will be reflected instantly and you don’t need to restart WAS.

Advertisements