Debugging just in time compiler (JIT) failures on Linux for V5.0 releases
 Technote (troubleshooting)
 
Problem(Abstract)
When trying to determine the nature of a JIT failure, use the attached script to start WebSphere® Application Server.
 
Cause
Failure converting Java™ bytecode to machine code resulting in a WebSphere Application Server failure on Linux®
 
Resolving the problem
To debug JIT failures, you must run multiple tests and gather log files from each test.
  1. Copy the attached startJit50Linux.sh file to $WAS_HOME/bin (/opt/WebSphere/AppServer/bin)
  2. Modify the startJit50Linux.sh file with the following changes:
    • Determine what application server you are debugging and modify the script. The script is set to debug server1.
    • Create the following directory: /opt/JitDebug or modify the script to reflect another location.
  3. Run the startJit50Linux.sh script, select an option and determine if the crash still occurs.
  4. For each crash, run gdb against the core file, and provide the requested files, then continue with the next test:
    gdb -x gdb_commands.txt [JAVA_PATH] [CORE_PATH] > gdbtrace_out.txt

    where:
    • [JAVA_PATH] is /opt/WebSphere/AppServer/java/jre/bin/exe/java
    • [CORE_PATH] is the path/filename for the core file
    • gdb_commands.txt is attached to this document
    • For more information on gdb_commands.txt , refer to: MustGather: Crash on Linux
  5. If running an option does not produce a failure, stop and contact IBM® Support. Send the following files for each test:
    • gdbtrace_out.out
    • $WAS_HOME/bin/runhistory
    • $WAS_HOME/bin/start.jit.log
    • All files from /opt/JitDebug
 
startJit50Linux.sh
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Java SDK
Operating system(s): Linux
Software version: 5.0
Software edition:
Reference #: 1164624
IBM Group: Software Group
Modified date: Mar 30, 2004