Configuring Advanced Settings

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.

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:

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.

In addition, define the deploy settings as follows:

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.

220

Sun GlassFish Enterprise Server 2.1 Administration Guide • December 2008

Page 220
Image 220
Sun Microsystems 820433510 manual Configuring Advanced Settings