IBM BS029ML - WebSphere Portal Server Self Help Manual page 175

Self help guide
Table of Contents

Advertisement

Refer to Appendix A, "Using IBM tools to find solutions and promote customer self-help" on
page 169 for the tools available to diagnose crashes and hangs.
JVM crashes
Under normal conditions, Java is supposed to catch exceptions and handle them. So, if the
JVM is found to be crashing, then this must be attributed to either JITC code (because it uses
native compilation) or JNI code (because, again, it uses native code) and lastly possibly
because of the JVM itself. If the JVM crashes, the following aspects should be investigated:
System environment
The system might have been in a state that has caused the VM to crash. For example,
there could be a resource shortage (such as memory or disk) or a stability problem. The
javacore file tells you how to find disk and memory resource information. The system logs
can give indications of system problems.
Java environment
Use the javacore file to determine what each thread was doing and which Java methods
were being executed.Use the -verbose:gc option to look at the state of the Java heap.
JVM signals in UNIX
AIX and Solaris, like other UNIX based operating systems, make use of signals. Signals are,
of course, a method by which the operating system can interrupt a running process or
program. Some of the common signals that result in abnormal program termination are listed
Table 5-23.
Table 5-23 JVM signals
Signal name
SIGBUS (7)
SIGSEGV (11)
SIGILL (4)
SIGFPE (8)
SIGABRT (8)
SIGINT (2)
Using dbx or dbxtrace against the core
dbx is the AIX standard command-line debugger. You can automate dbx into diagnostic
"probes". IBM Support might ask you to obtain and run selected probes, either against a test
instance of the troubled application, or against the dump files generated by an application
failure.
Signal type
Exception
Exception
Exception
Exception
Error
Interrupt
Chapter 5. WebSphere Portal runtime and services
Description
Incorrect access to memory
(data misalignment).
Incorrect access to memory
(write to inaccessible memory).
Illegal instruction (attempt to
invoke an unknown machine
instruction).
Floating point exception (divide
by zero).
Abnormal termination. The
JVM raises this signal
whenever it detects a JVM fault.
Interactive attention (CTRL-C).
JVM exits normally.
161

Advertisement

Table of Contents
loading

This manual is also suitable for:

Websphere portal v6

Table of Contents