IBM Support

Mustgather: Setup for diagnosing shared class corruption issues

Technote (troubleshooting)


If your Java application crashes due to shared class corruption on any operating system such as AIX®, Linux, Windows, or z\OS®, 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 Java shared class corruption issues, check that the following specific settings are configured before running your application:
• Enable javacore generation
• Enable core dump generation
• Enable snap trace generation

Please note that all the javacore, core dump and snap trace generation can be enabled using the following -Xdump option:

From Java 6.2.6 release onwards, the following -Xdump option can be used to collect the diagnostics:

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

Related information

Coredump on Linux
Coredump on AIX
Coredump on Windows

Document information

More support for: Runtimes for Java Technology

Software version: 5.0, 6.0, 6.1, 7.0, 7.1, 8.0

Operating system(s): AIX, Linux, Windows, z/OS

Reference #: 1606944

Modified date: 20 December 2016