7.20.2 JAVACOREDIR
JAVACOREDIR specifies the directory where thread dump files are output.
Description
JAVACOREDIR specifies the directory where thread dump files are to be output, by using C shell.
- Prerequisite option
-
-
-XX:+HitachiThreadDump
-
Syntax
setenv JAVACOREDIR output_destination_directory_of_thread_dump_files
Specifiable values
- output_destination_directory_of_thread_dump_files
-
Type: String
By default, thread dump files are output in the current directory.
The current directory is as follows:
work_directory/ejb/server_name
Default value
- If the definition item is omitted:
-
Nothing is set.
- If the value is omitted:
-
Current directory
Example
To output thread dump files to /home/user/threaddump:
setenv JAVACOREDIR /home/user/threaddump
Notes
-
If the output of thread dump files to the directory specified in JAVACOREDIR fails, the thread dump files are output to the current directory.
-
If output to the current directory also fails, the thread dump is output to the standard error output only. In such cases, the thread dump is not output to the standard output.