Operating Systems: i5/OS
Personalize the table of contents and search results
Configure the JVM
As part of configuring an application server, 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 application server, 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 application server configuration.
To view and change the JVM
configuration for an application server's process, use the Java virtual
machine page of the administrative console or use wsadmin to change the configuration
through scripting.
Procedure
- In the administrative console, click Servers > Application Servers
>server. Then, under Server Infrastructure, click > Java and
Process Management > Process Definition .
- Select Java Virtual Machine.
- Specify values for the JVM settings as needed and click OK.
- Click Save on the console task bar.
- Restart the application server.
Example
Configuring application servers 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 application server. Enabling UTF-8 allows multiple language
encoding support to be used in the administrative console.
Configuring JVM sendRedirect calls to use context root provides an example that
involves defining a property for the JVM.
}
Caching classes previously loaded by a user class loader
Running classes using JVM direct execution
Java virtual machine settings
Configuring JVM sendRedirect calls to use context root
Java Virtual machine custom properties
Related tasks
Getting started with scripting
Tuning Java virtual machines
Administering application servers
Related information
Migrating to Java 2 Standard Edition (J2SE) 5
|