JAVACOREDIR

Format

In Windows (batch file)
set JAVACOREDIR=output-destination-directory-of-thread-dump-file
In UNIX (C shell)
setenv JAVACOREDIR output-destination-directory-of-thread-dump-file

Description

Specifies the output destination directory used to output the thread dump file.

Default value
By default, JAVACOREDIR is not setup.
Thread dump output destination
By default, the thread dump file is output to the current directory.
The current directory is as follows:
In Windows
working-directory\ejb\server-name
In UNIX
working-directory/ejb/server-name
Prerequisite options
-XX:+HitachiThreadDump
Examples of specification
In Windows (batch file)
The thread dump is output to C:.

set JAVACOREDIR=C:\home\user\threaddump

In UNIX (C shell)
The thread dump is output to /home/user/threaddump.

setenv JAVACOREDIR /home/user/threaddump

Precautions
  • If an attempt to output the thread dump file to the directory specified in JAVACOREDIR fails, the thread dump file is output to the current directory.
  • If the output to the current directory also fails, the thread dump is only output to the standard error output. In this case, the thread dump is not output to the standard output.