Network Deployment (Distributed operating systems), v8.0 > Set up the application serving environment > Administer application servers


Configure the JVM

As part of configuring an application server, you might define settings that enhance the way your operating system uses of the JVM (JVM).

The JVM is an interpretive computing engine that is 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 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 process, use the JVM page of the admin console or use wsadmin scripts to change the configuration.


Procedure

  1. In the admin console, click...

        > Server Types > WebSphere application servers > server_name

    .

  2. Under Server Infrastructure, click Java and process management > Process definition .

  3. Select JVM.

  4. Specify values for the JVM settings as needed, and click OK. See the documentation about JVM settings.

    Java 5.0 SR10 and Java 6 SR5 correct issues in which the JVM (JVM) does not shut down correctly. If we have an application that depends on the previous behavior, which is not correct, you can revert to the previous behavior by adding the -XXallowvmshutdown:false argument to the Generic JVM arguments section.

  5. Click Save in the messages section of the admin console panel to save the changes to the master configuration.

  6. Restart the application server.


Example

Configure application servers for UCS Transformation Format provides an example that involves specifying a value for the Generic JVM Arguments property on the JVM page to enable UTF-8 encoding on an application server. Enabling UTF-8 allows multiple language encoding support to be used in the admin console.
Configure JVM sendRedirect calls to use context root provides an example that involves defining a property for the JVM.


Related


Java virtual machine settings
Configure JVM sendRedirect calls to use context root
Java virtual machine custom properties
Get started with wsadmin scripting
Tune the IBM virtual machine for Java
Administer application servers

+

Search Tips   |   Advanced Search