Introduction/Summary:
CA Support asked that I provide Java Heap and Core dumps. How do I produce Java Heap and Core dumps from a USS Tomcat Started task?
Background:
CA support, often Sustaining Engineering (SE), may ask you to send Java Heap and Core dumps for analysis. This is not routine. You should produce these dumps only if/when Support requests them.
Environment:
z/OS, USS
Instructions:
Please add the following IJO=$IJO entries in the JCL/PROC
IJO="$IJO -Xdump:heap+java:events=vmstop,request=exclusive+prepwalk"
IJO="$IJO -Xdump:directory=<directory under current mount point>”
Example – IJO=”$IJO -Xdump:directory=/CA31/u/users/omdev/apps/dumps"
Also, please make sure you have the following EXPORT commands – in addition to standard ones like export IBM_JAVA_OPTIONS="$IJO "
export IBM_HEAPDUMP=TRUE
When you stop the task, please do so with the command
/p <Tomcat STC name>