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
-
Rename the current
jvm-memory.optionsfile. For example,jvm-memory.options.backup. -
Look for the preserved
jvm-memory.optionsfile.The preserved file was renamed with a time stamp.
-
Remove the time stamp from the file name.
The
jvm-memory.optionsis the file preserved from the source installation. -
Open a command prompt and go to the
<pf_install>/pingfederate/sbin/wrapperdirectory. -
Run
generate-wrapper-jvm-options.bat.This helper utility reads the JVM options from the
jvm-memory.optionsfile and creates a resource file that the PingFederate Windows service requires to configure its JVM options. -
Close the command prompt.
The preserved file was renamed with a time stamp.
-
Restart the PingFederate Windows service.
Result
The preserved JVM options are activated as the PingFederate service starts.