Configuring Advanced Settings - Sun Microsystems GlassFish Enterprise Server 2.1 Administration Manual

Hide thumbs Also See for GlassFish Enterprise Server 2.1:
Table of Contents

Advertisement

Configuring Advanced Settings

Configuring Advanced Settings
To set the advanced application configuration using the Admin Console, select Application
Server > Advanced tab > Application Configuration tab and set the application configuration as
follows:
In addition, define the deploy settings as follows:
220
Sun GlassFish Enterprise Server 2.1 Administration Guide • December 2008
Debug Options: Specify the JPDA options passed to the JVM when the debugging is
enabled.
RMI Compile Options: Enter the command-line options for the rmic compiler. The
Enterprise Server runs the rmic compiler when EJB components are deployed.
Bytecode Preprocessor: Enter a comma separated list of class names. Each class must
implement the com.sun.appserv.BytecodePreprocessor interface. The classes are called
in the order specified.
Tools such as profilers may require entries in the Bytecode Preprocessor field. Profilers
generate information used to analyze server performance.
Reload: Select this checkbox to enable dynamic reloading of applications.
If dynamic reloading is enabled (it is by default), 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 JSP or class files into the deployment directory for the application or module.
The server checks for changes periodically 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.
Reload Poll Interval: Define the interval at which applications and modules are checked for
code changes and dynamically reloaded. The default is 2.
Admin Session Timeout: Specify the number of minutes of inactivity after which the admin
session times out.
Auto Deploy: Select this checkbox to enable automatic deployment of applications.
Autodeployment 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.
Auto Deploy Poll Interval: Define the interval at which applications and modules are
checked for code changes and dynamically reloaded. The default is 2.
Verifier: Check the Verifier Enabled box to verify your deployment descriptor files. This is
optional.
Precompile: Check the Precompile Enabled box to precompile any JSP files.

Advertisement

Table of Contents
loading

Table of Contents