IBM Z and LinuxONE - IBM Z - Group home

Add or Modify JVM options in z/OSMF Liberty Server

By ZHI LI posted Fri September 28, 2018 12:00 AM


This is an advanced configuration topic, if your z/OSMF is running well and smoothly on your system, there's no need to override the IBM shipped default jvm.options. Make sure you understand what you are doing before modifying the system.

Websphere Liberty allows user to specify JVM options during server start. Documents here has described how liberty jvm.options is working. When using Liberty in z/OSMF, you don't need to consider how jvm.options should be configured. The default shipped jvm.options is not editable and will fit almost everyone.

Here is the content of IBM shipped z/OSMF liberty jvm.options


In some cases, if you have to update jvm.options. Here are instructions for how to do it.

  1. create an empty file, named local_override.cfg under $ZOSMF_DATA_DIR/configuration. If you use /var/zosmf, the full path is /var/zosmf/configuration/local_override.cfg. Skip this step if the override file already exists
  2. start a new line with JVM_OPTIONS= , here is a sample how it may look

If you want to add more than one JVM option in z/OSMF, there are two ways to do it.

  1. Have all the JVM options specified in a single line, here is an example. Make sure you follow the pattern and symbols in your override file.
  2. Place all JVM options in another file and use -Xoptionsfile in override file. Here is an example of the override file
    Place all your JVM options in the testfile. Here is an example of the testfile

You can also contact IBM support if you want help with configuring z/OSMF JVM options.


1. z/OSMF Marketplace:

2. z/OSMF Trial:

3. z/OSMF One Stop Hub:

4. z/OSMF Knowledge Center: