uCosminexus Application Server, Maintenance and Migration Guide
This section describes the settings to acquire user dumps in Windows.
When the product hangs up, the user dump becomes necessary as the data required for troubleshooting. To obtain the user dump, use the task manager or the Windows debug tool. For details, see the Microsoft website.
Note that if you want to instantly obtain the user dump when JavaVM terminates abnormally, specify the following settings in the registry before you start the product. The registry settings affect the entire system, so take adequate precautions when you specify the settings. However, cjstartsv.exe, cjstartweb.exe, cjclstartap.exe, and adminagent.exe are automatically set up when the product is installed.
We recommend that you use Dr. Watson (drwtsn32) as the Windows debug tool in Windows XP. When acquiring user dumps using Dr. Watson, you need to set Dr. Watson so that you can use Dr. Watson. Set up Dump symbol table, Dump all thread context, and Create the crash dump file as options of Dr. Watson. For details about how to use Dr. Watson, see the manual provided with the OS.
Note that if you want to instantly obtain the user dump when JavaVM terminates abnormally, specify the following settings:
To collect a user dump when process hang up occurs, obtain userdump.exe provided by Microsoft. For details, see the homepage of Microsoft Corp.
When acquiring user dumps using the -fd option of the cjstopsv command, you must set up the output destination directory of the user dump in the environment variable CJMEMDUMP_PATH. File name of the user dump is cjmemdump.dmp.
The following is a setup example of the environment variable CJMEMDUMP_PATH:
set CJMEMDUMP_PATH=C:\temp |
When specifying the environment variable CJMEMDUMP_PATH, note the followings:
When acquiring user dumps using the sub command dump of the mngsvrutil command, obtain userdump.exe provided by Microsoft Corp. to acquire user dumps when process hang up occurs. For details, see the homepage of Microsoft Corp.
When you use Management Server to set up the system, specify the output destination directory of the user dump in the environment variable CJMEMDUMP_PATH to obtain the user dump for the forceful termination of the logical server. If you specify this environment variable, the user dump can be collected beneath the directory specified in this environment variable when the logical J2EE server and logical SFO server (compatibility functionality) are terminated forcefully. The user dump file name is cjmemdump.dmp. For details, see 4.1.11 Setting environment variables of the system in the uCosminexus Application Server System Setup and Operation Guide.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.