Where is the JVM Dump file physically located in JBoss Server environment?

I was debugging an enterprise application at my office today and suddenly got a heap dump – so I thought of creating a new post in this blog about the location of the JVM dump file in JBoss 4.0.5 server along with the stack trace of the error (and what other files are created during dump process). My IDE is IBM’s Rational Software Architecht (RSA) and I am running my JBoss server against a JDK of 1.4.2_12.

As you can see in the stack trace below, the java dump files are located at JBoss bin folder. There were basically three files created during this dump process:

  • System Dump File – core.20100830.093556.8156.dmp
  • Snap Dump File – Snap0001.20100830.093556.8156.trc
  • Java Dump file – javacore.20100830.093556.8156.txt

Unhandled exception
Type=Segmentation error vmState=0x00040000
Target=2_30_20060501_06428_lHdSMR (Windows XP 5.1 build 2600 Service Pack 3)
CPU=x86 (2 logical CPUs) (0xdcfd4000 RAM)
J9Generic_Signal_Number=00000004 ExceptionCode=c0000005 ExceptionAddress=70E8DB1C ContextFlags=0001003f
Handler1=71050180 Handler2=70FA74A0 InaccessibleAddress=00000000
EDI=00000000 ESI=24E18B3E EAX=00000000 EBX=00000000
ECX=70E8C640 EDX=2467FBB4
EIP=70E8DB1C ESP=2467FBB8 EBP=24633100
Module=C:Program FilesIBMSDP70runtimesbase_v61javajrebinj9jit23.dll
Module_base_address=70C70000 Offset_in_DLL=0021db1c
JVMDUMP006I Processing Dump Event "gpf", detail "" - Please Wait.
JVMDUMP007I JVM Requesting System Dump using 'C:jboss-4.0.5.GAbincore.20100830.093556.8156.dmp'
JVMDUMP010I System Dump written to C:jboss-4.0.5.GAbincore.20100830.093556.8156.dmp
JVMDUMP007I JVM Requesting Snap Dump using 'C:jboss-4.0.5.GAbinSnap0001.20100830.093556.8156.trc'
JVMDUMP010I Snap Dump written to C:jboss-4.0.5.GAbinSnap0001.20100830.093556.8156.trc
JVMDUMP007I JVM Requesting Java Dump using 'C:jboss-4.0.5.GAbinjavacore.20100830.093556.8156.txt'