IBM Tivoli Composite Application Manager for Application Diagnostics, Version 126.96.36.199
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:
- 1.4.2 JDK, 64-bit AMD64 on Windows and Linux
- 1.4.2 JDK, 32-bit i386. (J9 JVM is used only if the -Xj9 JVM option is specified.)
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:
- Log into the WAS administrative console for the instance of the application server being monitored by the data collector.
- Click Server > Application Servers and select the server_name.
- In the Configuration tab, navigate to Server Infrastructure > Java and Process Management > Process Definition > Additional Properties: Java Virtual Machine.
- In the Generic JVM arguments field, add the following string of text:-Xtrace
- Click Apply.
- In the Messages dialog box, click Save.
- 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