All Downloads are FREE. Search and download functionalities are using the official Maven repository.

en.help.ref-serverinstappsconfig.html Maven / Gradle / Ivy

There is a newer version: 3.2-b03
Show newest version

Applications Configuration

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 Applications Configuration page contains the following options.

Load Defaults

Button to restore the default values of all the settings.

Reload

If this option is enabled, modified classes are reloaded dynamically. 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.

Reload Poll Interval

Identifies how often the server should check for code changes in the deployed applications and modules. The default value is 2.

Admin Session Timeout

Identifies the number of minutes of inactivity before the Administration Console times out and you have to log in again. The default value is 60.

Auto Deploy

If this option is enabled, applications in the auto-deploy directory are deployed automatically. This option is enabled by default.

Auto Deploy Poll Interval

Specifies how often the server should check the auto-deploy directory for application or module changes. Changing the poll interval does not affect the time taken for deploying an application or module. The default value is 2.

Auto Deploy Retry Timeout

Specifies the number of seconds that a partially copied file can remain unchanged in size before an error occurs. The default value is 4.

If a file is copied slowly into the auto-deploy directory, the file can appear before the entire file is copied. As a result, the attempt to automatically deploy the application fails. If an attempt to automatically deploy an application fails for this reason, the GlassFish Server tries to deploy the application again. If the size of the partially copied file remains unchanged for the specified period of time, an error occurs.

Auto Deploy Directory

Identifies the directory to monitor for automatic deployment of applications. The default value is domain-dir/autodeploy.

XML Validation

Specifies the type of XML validation to be performed on standard and GlassFish Server deployment descriptors. The type may be any of the following:

Full

If XML validation fails, deployment fails. This value is the default.

Parsing

XML validation errors are reported, but deployment occurs.

None

No XML validation is performed.

Verifier

If this option is enabled, the verifier is run before autodeployment. If verification fails, deployment is not performed. The verifier examines the structure and content of the file. Verification of large applications is often time-consuming. This option is disabled by default.

Precompile

If this option is enabled, JavaServer Pages (JSP) files are precompiled. If this option is disabled, JSP files are compiled at runtime when they are first accessed. This option is disabled by default.

Additional Properties

Additional properties for applications. The GlassFish Server does not define any additional properties for applications.

Related Tasks
Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Legal Notices




© 2015 - 2025 Weber Informatics LLC | Privacy Policy