■
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 specied.
Tools such as prolers may require entries in the Bytecode Preprocessor eld. Prolers
generate information used to analyze server performance.
Conguring Advanced Settings
To set the advanced application conguration using the Admin Console, select Application
Server > Advanced tab > Application Conguration tab and set the application conguration as
follows:
■
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 les 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: Dene 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.
In addition, dene the deploy settings as follows:
■
Auto Deploy: Select this checkbox to enable automatic deployment of applications.
Autodeployment involves copying an application or module le (JAR, WAR, RAR, or EAR)
into a special directory, where it is automatically deployed by the Application Server.
■
Auto Deploy Poll Interval: Dene the interval at which applications and modules are
checked for code changes and dynamically reloaded. The default is 2.
■
Verier: Check the Verier Enabled box to verify your deployment descriptor les. This is
optional.
■
Precompile: Check the Precompile Enabled box to precompile any JSP les.
ConguringAdvancedSettings
SunGlassFishEnterpriseServer2.1AdministrationGuide • December2008220