Name: rmT116609 Date: 09/27/2004
A DESCRIPTION OF THE REQUEST :
We're getting core dumps in JVM 1.4.2_04 (soon testing 1.4.2_05). The app lives on a shared, read-only file system. We don't get the hs_err<pid> files, and we need those to debug the problem
JUSTIFICATION :
There must be many apps that need this customiable, either the location is read-only, or shared, or they want to link it with the core location (as set by coreadm on Solaris or the appropriate sysctl in Linux 2.6).
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
either:
a) a command line flag to set this location (easiest)
or
b) default to the location that coreadm/sysctl kernel.core_pattern uses (a bit more work)
these are not mutually exclusive
Possible workaround - if you can't write to a file, write to stdout.
ACTUAL -
Attempts to write in processes CWD, if it fails, then hs_err<pid> is never written
(Incident Review ID: 315576)
======================================================================