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.
The General Information page opens.
The Applications Configuration page opens.
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 Pages (JSP) 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.
The default value is 2.
The default value is 60.
If you copy an application or module file (JAR, WAR, RAR, or EAR) into a special directory and then enable automatic deployment, the application or module is automatically deployed by the GlassFish Server. This option is enabled by default.
The default value is 2. Changing the poll interval does not affect the time taken for deploying an application or module.
The default value is 4.
The default value is domain-dir/autodeploy.
The type may be any of the following:
If XML validation fails, deployment fails. This value is the default.
XML validation errors are reported, but deployment occurs.
No XML validation is performed.
The verifier examines the structure and content of the file before autodeployment. If verification fails, deployment is not performed. Verification of large applications is often time-consuming. This option is disabled by default.
If this option is disabled, JSP files are compiled at runtime when they are first accessed. This option is disabled by default.
The GlassFish Server does not define any additional properties for applications.
Tip - To return to the default settings, click the Load Defaults button, then click Save.