Hitachi

uCosminexus Application Server Maintenance and Migration Guide


4.9.4 Acquiring the Management Server Memory Dump

This section describes how to acquire the Management Server memory dump for each OS.

Organization of this subsection

(1) In Windows

If Management Server is running (if the cjstartsv.exe process exists), collect the memory dump from the task manager#.

If Management Server is down, collect the memory dump from the Windows debug tool#.

#

For details, see the Microsoft website.

To acquire the memory dump when Management Server is down, you need to specify settings in advance. For details on how to specify the settings, see 3.3.15 Settings for Collecting a User Dump.

(2) In UNIX

If Management Server (the cjstartsv process) is down, acquire the core dump output in Application-Server-installation-directory/manager/containers/m/ejb/server-name-of-Management-Server.

When Management Server is restarted, the names of the core dump files are renamed to core.output-date-time# (in AIX and HP-UX) or core.process-ID.output-date-and-time# (in Linux). The core dumps are not saved by overwriting when Management Server is restarted, so you can save the core dumps generated when errors occur.

#

The output date and time is output in the YYMMDDhhmmss format.

YY: Western calendar year (Last 2 digits), MM: Month (2 digits), DD: Day (2 digits)

hh: Hour (2 digits in 24 hour notation), mm: Minute (2 digits), ss: Seconds (2 digits)

After acquiring the core dump, if you want to acquire only the stack trace information from the core dump, execute the javatrace command. The stack trace information is the information required for investigating the cause of abnormal termination of JavaVM. For details about how to acquire the stack trace information, see 4.18 JavaVM stack trace information.

You can acquire a core dump in the following cases. The following describes how to acquire a core dump for each case: