How do you create javacore files using IBM Whole-system Analysis of Idle Time (WAIT) tool for IBM Rational Team Concert (RTC) that been deployed on Tomcat and configured as a windows service?
The java core file can be used to isolate the cause of the hang and the thread that is causing this issue.
In case of Rational Team Concert hang or crash, IBM WAIT collection tool enables the Admin’s to generate the javacore files.
These Java core file can be used to isolate the cause of the hang and helps to isolate the thread that is causing this issue.
The javacore files get created in the C:\Windows\System32 directory.
Please ensure you collect these files and clear this location, as each of the javacore file could be as much as 7.5 MB if the sleep time has been set to 30 seconds.
Note: IBM Wait collection tool does not create the javacore files in the location specified by the WAIT collector tool argument when Tomcat has been registered as a service. It works as expected if Tomcat is not configured as a service.
Steps to generate the java core files:
Run the following command:
C:\waitWindowsDataCollector>waitDataCollector.bat <Process_ID_tomcat5.exe> <location_for_dumping_Javacore_files>
C:\waitWindowsDataCollector>waitDataCollector.bat 1234 C:\RTC_Core_Dumps
- C:\waitWindowsDataCollector is the location were the Wait collection tool has been unzipped.
- 1234 is the process ID gathered out of task manager.
- tomcat5.exe is the (default) name of the Tomcat Service.