uCosminexus Application Server, Command Reference Guide
javacore (Acquiring the thread dump/in Windows)
Format
javacore [-i|-f] -p process-ID
Function
Acquires the thread dump when executing the command. This command is for Windows.
Arguments
Return values
Input example
% javacore -p 8326
Output a thread dump:?(y/n)
Output a thread dump:?(y/n)y
Output messages
When the following error messages or warning messages are output, the thread dump is not acquired:
| No. | Error message | Explanation |
|---|---|---|
| 1 | usage: javacore [-f|-i] -p process-id | An argument of the command is invalid. |
| 2 | javacore: illegal option -- option | option specified in an argument of the command is invalid. |
| 3 | javacore: can't communicate with process process-ID. | A problem occurred in process-ID specified in an argument and hence the communication is not possible, or a process corresponding to process-ID specified in an argument does not exist. |
| 4 | process-ID: Not owner | 0 has been specified in process-ID specified in an argument of the command. |
| 5 | process-ID: Now processing previous request, this request canceled | A process given in process-ID specified in an argument of the command is already running. |
| 6 | javacore: can't create work file at temporary directory, this request canceled | A reference permission and write permission is not assigned to the directory for temporary files. |
| 7 | javacore: can't get temporary directory, this request canceled | As GetTempPath()API returned an error, a directory for temporary files cannot be acquired. |
| 8 | javacore: unexpected error occurred: error-cause | An unexpected error occurred while executing a command. |
| 9 | process-ID: Timeout occurred. Java process not responding. | A response of the thread dump output process termination is not received within a specified time, from a process corresponding to process-ID specified in an argument of the command. |
| 10 | javacore: please delete non-deleted-file-name in full-path-of-the-non-deleted-file. | A file created in an internal process of the javacore command, when the command termination could not be deleted. Delete the non-deleted file in full-path-of-the-non-deleted-file. |
Notes
All Rights Reserved. Copyright (C) 2012, 2015, Hitachi, Ltd.