Sun Java System Web Server 7.0 Update 3 Performance Tuning, Sizing, and Scaling Guide

Configuring Class Reloading

The dynamic reload interval of the servlet container and the dynamic-reload-interval of the class-loader element in sun-web.xml control the frequency at which the server checks for changes in servlet classes. When dynamic reloading is enabled and the server detects that a .class file has changed, the entire web application is reloaded.

Set the dynamic reload interval on the configuration's Java tab ⇒ Servlet Container sub tab, or using the wadm set-servelt-container-props command. In a production environment where changes are made in a scheduled manner, set this value to 0 to prevent the server from constantly checking for updates. The default value is 0 (that is, class reloading is disabled). For more information about elements in sun-web.xml, see Sun Java System Web Server 7.0 Update 3 Developer’s Guide to Java Web Applications.