Use the Applications Configuration page to set properties that help ensure that changes
to deployed applications are detected and that the modified classes are reloaded.
- In the navigation tree, select the Application Server node.
The General Information page opens.
- On the General Information page, click the Advanced tab.
The Applications Configuration page opens.
- Select the Reload Enabled checkbox to enable dynamic reloading of applications.
When dynamic reloading is enabled, you do not have to redeploy an application
or module when you change its code or deployment descriptors. All you have
to do is copy the changed JavaServer PagesTM (JSPTM) or class files into
the deployment directory for the application or module. The server periodically checks for changes
in the deployment directory and redeploys the application, automatically and dynamically, with the
changes. This is useful in a development environment, because it allows code changes
to be tested quickly. In a production environment, however, dynamic reloading might degrade
performance. In addition, whenever a reload is done, the sessions at that transit
time become invalid. The client must restart the session.
This option is enabled by default.
- In the Reload Poll Interval field, type the length, in seconds, of the
interval at which applications and modules are to be checked for code changes
and dynamically reloaded.
The default value is 2.
- In the Admin Session Timeout field, type the number of minutes of inactivity
after which the Administration Console session is to time out.
The default value is 60.
- Select the Auto Deploy Enabled checkbox to enable automatic deployment of applications.
Auto Deployment involves copying an application or module file (JAR, WAR, RAR, or
EAR) into a special directory, where it is automatically deployed by the Application
Server. This option is disabled by default.
- In the Auto Deploy Poll Interval field, type the length, in seconds, of
the interval at which applications and modules are to be checked for
code changes and dynamically reloaded.
The default value is 2. Changing the poll interval does not affect the
time taken for deploying an application or module.
- In the Auto Deploy Retry Timeout field, type the number of seconds that
a partially copied file can remain unchanged in size before an error occurs.
The default value is 30.
- In the Auto Deploy Directory field, type the full path of the directory
to monitor for automatic deployment of applications.
- Select the Verifier Enabled checkbox to verify your deployment descriptor files.
The verifier examines the structure and content of the file before deployment. Verification
of large applications is often time-consuming.
- Select the Precompile Enabled checkbox to precompile any JSP files.
- (Optional) In the Additional Properties section, specify additional properties.
The Enterprise Server does not define any additional properties for applications.
- To add a property, click the Add Property button. In the blank row
that appears, type the property name in the Name field, and type
the property value in the Value field.
- To modify a property, edit that property's Value field.
- To delete a property, select the checkbox to the left of the
Name field of the property that you are deleting, then click the Delete
Properties button.
- (Optional) To return to the default settings, click the Load Defaults button.
- Click Save.
- Restart the server.