Sun GlassFish Enterprise Server v2.1.1 Administration Guide

Chapter 20 Java Virtual Machine and Advanced Settings

The Java Virtual Machine (JVM) is an interpretive computing engine responsible for running the byte codes in a compiled Java program. The JVM translates the Java byte codes into the native instructions of the host machine. The Enterprise Server, being a Java process, requires a JVM in order to run and support the Java applications running on it. JVM settings are part of an application server configuration.

This chapter explains how to configure the Java Virtual Machine (JVMTM) and other advanced settings. It contains the following sections:

Tuning the JVM Settings

As part of configuring the application server, you define settings that enhance the use of the Java Virtual machine. To change the JVM configuration using the Admin Console, select Application Server > JVM Settings tab and define the general JVM settings as follows:

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: