PingAccess

Configuring JVM crash log in Java startup

Enable or disable the Java Virtual Machine (JVM) crash log.

About this task

The Java Virtual Machine (JVM) crash log is enabled by default. On Windows, the run.bat file specifies the JVM crash log location, and on Linux, the run.sh file specifies the JVM crash log location.

Steps

  • Edit the <PA_HOME>/bin/run.bat file on Windows, or the <PA_HOME>/bin/run.sh file on Linux.

    Choose from:

    • To disable JVM crash log reporting, comment out the line that specifies the JVM crash log location. For example:

      #ERROR_FILE="-XX:ErrorFile=$PA_HOME/log/java_error%p.log"
    • To enable JVM crash log reporting, remove the comment tag and make the line active. For example:

      ERROR_FILE="-XX:ErrorFile=$PA_HOME/log/java_error%p.log"