Mustgather: Setup for diagnosing a Java application crash problem on Windows
If your Java application crashes on a Windows 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 the full crash dump generation
3. Enable core dump generation
Please enable full dump settings for Windows.
4. Enable snap trace generation
Please note that all the javacore, core dump and snap trace generation can be enabled using the below single Xdump option:
In case, if the above Xdump option does not generate the core dump as expected, please refer and use the Microsoft ADPlus tool to generate the core dump at the time of crash as appropriate.
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® Monitoring and Diagnostic Tools for Java - Diagnostics Collector.
Using the IBM Monitoring and Diagnostic Tools for Java - Diagnostics Collector
Information about installing and configuring the Diagnostics Collector is provided at:
Ideally, install the IBM Diagnostics Collector at the same time as your Java application is installed and setup. The reason is to collect first failure data immediately from the application run. The IBM Diagnostics Collector produces an archive containing all the information required for Java first pass analysis.
NOTE: From Java 8 releases, the diagnostic collector utility tool is removed. Instead, IBM® Support Assistant Data Collector can be used.
More support for:
Runtimes for Java Technology
Software version: 5.0, 6.0, 6.1, 7.0, 7.1, 8.0
Operating system(s): Windows
Software edition: J2SE
Reference #: 1222468
Modified date: 16 November 2016