+

Search Tips   |   Advanced Search

 

Configure the JVM

 

As part of configuring an appserver, you might define settings that enhance the way your operating system uses of the Java virtual machine (JVM).

 

Overview

The 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 appserver, being a Java process, requires a JVM in order to run, and to support the Java applications running on it. JVM settings are part of an appserver configuration.

To view and change the JVM configuration for an appserver's process, use the Java virtual machine page of the console or use wsadmin to change the configuration through scripting.

 

Procedure

  1. In the console, click Servers > Application Servers >server. Then, under Server Infrastructure, click > Java and Process Management > Process Definition .

  2. Select Java Virtual Machine.

  3. Specify values for the JVM settings as needed and click OK.

  4. Click Save on the console task bar.

  5. Restart the appserver.

 

Example

Configure appservers for UCS Transformation Format provides an example that involves specifying a value for the Generic JVM Arguments property on the Java virtual machine page to enable UTF-8 encoding on an appserver. Enabling UTF-8 allows multiple language encoding support to be used in the console.

Configure JVM sendRedirect calls to use context root provides an example that involves defining a property for the JVM.



Java virtual machine settings

Configure JVM sendRedirect calls to use context root

Java Virtual machine custom properties

 

Related tasks


Getting started with scripting
Tuning Java virtual machines
Administering appservers

 

Related information


Migrating to Java 2 Standard Edition (J2SE) 5