+

Search Tips   |   Advanced Search

Set the JVM


As part of configuring an appserver, we might define settings that enhance the way the operating system uses of the JVM.

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 application server configuration.

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

 

  1. In the admin console ...

    Servers > Server Types > WebSphere application servers > server_name. 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

Set 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 admin console.

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


Java virtual machine settings
Set JVM sendRedirect calls to use context root
Java virtual machine custom properties

 

Related tasks


Getting started with scripting
Tuning the IBM virtual machine for Java
Administer appservers