PingFederate Server

Restoring the preserved JVM options

When administrators run the PingFederate service-installation program install-service.bat, the upgrade utility creates a new installation based on the source installation and copies the jvm-memory.options file from the source installation to the new installation. You can edit the jvm-memory.options file with a time stamp to restore the preserved JVM options that exist in the jvm-memory.options file from the source installation.

About this task

Use the command prompt to edit the jvm-memory.options file with a time stamp.

Steps

  1. Rename the currentjvm-memory.options file. For example,jvm-memory.options.backup.

  2. Look for the preserved jvm-memory.options file.

    The preserved file was renamed with a time stamp.

  3. Remove the time stamp from the file name.

    The jvm-memory.options is the file preserved from the source installation.

  4. Open a command prompt and go to the <pf_install>/pingfederate/sbin/wrapper directory.

  5. Run generate-wrapper-jvm-options.bat.

    This helper utility reads the JVM options from the jvm-memory.options file and creates a resource file that the PingFederate Windows service requires to configure its JVM options.

  6. Close the command prompt.

    The preserved file was renamed with a time stamp.

  7. Restart the PingFederate Windows service.

Result

The preserved JVM options are activated as the PingFederate service starts.