Restoring the preserved JVM options
When administrators run the PingFederate service-installation program install-service.bat
, the upgrade utility
include::partial$pf_rc_upgradetoolcreatesanewinstallation_copiesjvmmemoryoptionsfromsource.adoc[tags=pf_ph_upgradeToolCreatesANewInstallation_copiesJvmMemoryOptionsFromSource]. 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.
Steps
-
Rename the current
jvm-memory.options
file. For example,jvm-memory.options.backup
. -
Look for the preserved
jvm-memory.options
file.The preserved file was renamed with a time stamp.
-
Remove the time stamp from the file name.
The
jvm-memory.options
is the file preserved from the source installation. -
Open a command prompt and go to the
<pf_install>/pingfederate/sbin/wrapper
directory. -
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. -
Close the command prompt.
The preserved file was renamed with a time stamp.
-
Restart the PingFederate Windows service.