IBM Tivoli Composite Application Manager for Application Diagnostics, Version 7.1.0.1

JDK 1.4.2 J9: enabling Java core dumps and heap dumps

If you have JDK 1.4.2 J9, perform the procedure in this section to enable Java core dumps and heap dumps. On all other JDK versions, Java core dumps and heap dumps are enabled by default.

J9 is typically used on the following platforms:

One way to check whether you have J9 is to check the system out log (typically SystemOut.log) for a line that contains J2RE 1.4.2 IBM J9.

If you have IBM JDK 1.4.2 J9, to enable Java core dumps and heap dumps perform the following procedure:

  1. Log into the WAS administrative console for the instance of the application server being monitored by the data collector.

  2. Click Server > Application Servers and select the server_name.

  3. In the Configuration tab, navigate to Server Infrastructure > Java and Process Management > Process Definition > Additional Properties: Java Virtual Machine.

  4. In the Generic JVM arguments field, add the following string of text:
    -Xtrace

  5. Click Apply.

  6. In the Messages dialog box, click Save.

  7. In the Save to Master Configuration dialog box:

    • If you are under a Network Deployment environment, be sure the check box Synchronize changes with Nodes is selected and then click Save.

    • If you are not under a Network Deployment environment, click Save.

if you find the following message in the application server native_stderr.log file:

The JVM option is invalid: -Xtrace Could not create the Java virtual machine.
Or,
[ Unrecognized option: -Xtrace ] [ JVMCI123: Unable to parse 1.2 format supplied 
options - rc=-6 ] Could not create JVM.
this means you do not have IBM JDK 1.4.2 J9. In this case, remove the -Xtrace JVM argument.


Parent topic:

Additional steps for configuring the data collector on Windows


Parent topic:

Additional steps for configuring the data collector on Linux and UNIX systems