IBM Support

Mustgather: Setup for diagnosing a Java application crash problem on Linux

Troubleshooting


Problem

If your Java application crashes on a Linux operating system, there are a number of diagnostic data files that are useful for diagnosing the problem. This mustgather document describes about the required settings to be in place in order to generate those diagnostic data files.

Resolving The Problem

In order to collect the diagnostic data files required for diagnosing the crash problems, check that the following specific settings are configured before running your application:

1. Enable javacore generation
2. Enable core dump generation
3. Enable snap trace generation
4. Install the gdb tool.

Please note that all the javacore, core dump and snap trace generation can be enabled using the below single Xdump option:
-Xdump:java+system+snap:events=gpf+abort

For more details about enabling these settings, please see the related information links.

An easier way to collect these mustgathers is to use the IBM® Support Assistant Data Collector.

[{"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":"Crash","Platform":[{"code":"PF016","label":"Linux"}],"Version":"8.0;7.1;7.0;6.1;6.0;5.0","Edition":"J2SE","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
15 October 2024

UID

swg21222461