IBM Support

Setting generic JVM arguments in WebSphere Application Server

Troubleshooting


Problem

This document explains how you can set generic Java™ Virtual Machine (JVM) arguments in the administrative console for WebSphere Application Server.  The generic JVM arguments are used to configure and adjust how the JVM executes. 

Resolving The Problem

   
 
image 13005 Liberty
 

Setting JVM arguments on the WebSphere Application Server Liberty has different steps. See Setting generic JVM arguments in the WebSphere Application Server V8.5 Liberty profile.

Instructions and additional information in IBM Docs
 

You can find steps for navigating to the JVM settings in the administrative console in the Java virtual machine settings article in IBM Docs.  You can find some of the generic JVM arguments that are available to you in the Generic JVM arguments section of the Java virtual machine article in IBM Docs.

How to insert or append JVM arguments
 

Each JVM argument is separated by a delimiter, which is the space character.

For example, if you want to add these two JVM arguments to an already full list of arguments:

-Xrs
-Xint

You would apply each argument individually, separating each with a space.

[other arguments] -Xrs -Xint [other arguments]
 
WebSphere Application Server v7.08.0, 8.5.x, and 9.0
 

To navigate to the Generic JVM arguments settings in the administrative console for WebSphere v7.08.0, 8.5.x, and 9.0 for IBM® i and distributed platforms, perform the following steps.  If you are using WebSphere Application Server for z/OS, go to the section for WebSphere Application Server for z/OS.

 
  • Application Server
    1. In the Administration Console click Servers
    2. Expand Server Type, then click WebSphere application servers
    3. Click the name of your server
    4. Expand Java and Process Management, then click Process Definition.
    5. Under the Additional Properties section, click Java Virtual Machine.
    6. Scroll down and locate the textbox for Generic JVM arguments.
    7. image 13007 Once changes are saved to the master configuration, the server requires a restart for the arguments to take effect.
  • Nodeagent
    1. In the Administration Console, click System Administration
    2. Click Node agents
    3. Click the nodeagent to edit
    4. In the Server Infrastructure section, expand Java and Process Management, then click Process Definition.
    5. Under the Additional Properties section, click Java Virtual Machine.
    6. Scroll down and locate the textbox for Generic JVM arguments.
    7. image 13007 Once changes are saved to the master configuration, the node agent requires a restart for the arguments to take effect.
  • Deployment Manager
    1. In the Administration Console, click System Administration
    2. Click Deployment manager
    3. In the Server Infrastructure section, expand Java and Process Management and click Process Definition.
    4. Under the Additional Properties section, click Java Virtual Machine.
    5. Scroll down and locate the textbox for Generic JVM arguments.
    6. image 13007 Once changes are saved to the master configuration, the deployment manager requires a restart for the arguments to take effect.
 
  1. In the administrative console, navigate to the JVM settings by using the steps in the Java virtual machine settings article in IBM Docs.
  2. Scroll down and locate the textbox for Generic JVM arguments.
  3. image 13007 Once changes are saved to the master configuration, the JVM requires a restart for the arguments to take effect.
 
Examples of JVM arguments
 
Override Default TLS -Dcom.ibm.jsse2.overrideDefaultTLS=true
Increase heap size to 1G -Xmx1G

You can find some of the generic JVM arguments that are available to you in the Generic JVM arguments section of the Java virtual machine article in IBM Docs.

 

[{"Type":"MASTER","Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"ARM Category":[{"code":"a8m50000000CcwPAAS","label":"WebSphere Application Server traditional-All Platforms-\u003EJVM Miscellaneous Issues-\u003EJVM Issues"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5.5;9.0.0"}]

Document Information

Modified date:
31 May 2023

UID

swg21417365