CCS Apache Tomcat JIT Dump configuration
search cancel

CCS Apache Tomcat JIT Dump configuration

book

Article ID: 375150

calendar_today

Updated On:

Products

COMMON SERVICES FOR Z/OS

Issue/Introduction

Configuration settings for JIT dumps in CCS Apache Tomcat

Environment

Release 15.0

Resolution

  1. In TOMENVPR member, code the following:

    IJO="IJO -Xdump:jit:defaults:file=$LOG_DIR/jit.%Y%m%d.%H%M%S.%seq.dmp"

  2. To verify that the setting works correctly:
  3. Restart Tomcat.
  4. Issue command: -Xdump:what
  5. This will return the following:

Registered dump agents

-----------------------------------------------------

-Xdump:jit:

    events=gpf+abort,

    files=/<jit dump path>/jitdump.%Y%m%d.%H%M%S.%pid.%seq.dmp

    range=1..0,

    priority=200,

    request=serial

To trigger a JIT dump manually, without terminating Tomcat:

  1. Add the following line to the TOMENVPR config:

    IJO="$IJO -Xdump:jit:events=user2,request=exclusive+prepwalk"

  2. Restart Tomcat
  3. Issue Unix command:

    kill -s SIGUSR2 <pid>