The Codex of Business Writing Software for Real-World Solutions 2.pptx
Support pattern
1. Server Core Dump Pattern:
-------------------------
JVM process fails,it produce a core file, it is a snapshot dump of the process
at the point of failure.
In unix server core files are created in the dectory where the server was
started. In windows C:windowsDrwaston folder.
Java code does not cause a core file, Failing native code C or C++ can cause JVM
/ WLS to fail and create a core file
Symptoms: WLS crash, JVM crash, machine crash
Get the last minute Thread Dump, It may be useful to know what the server was
doing right before the core dump. A thread dump is a textual snapshot of all
active threads in a JVM procss
To capture the state of threads just before failure to enable the below flag on
server startup:
-XX:+ShowMessageBoxOnError (SUN JVM)
-Djrockit.waitonerror (JRockit JVM)
When JVM crashes, the program will prompt : Do you want to debug the problem?
Before answering the prompt, you can then dump of the JVM.
Taking Thread dump:
>java weblogic.Admin -url localhost:7001 -username weblogic -password weblogic
THREAD_DUMP (common for all environment)
kill -3 for unix enviroment
CTRL+BREAK in windows enviroment.
Through Weblogic Console.