|
Problem(Abstract) |
When debugging JVM™ issues in IBM® WebSphere® Embedded
Servers, it is often difficult to generate a Javacore. This is because of
the limited tools available. This technote documents how a Javacore can be
generated from a DOS window command line. |
|
|
|
Cause |
Problems in an embedded Application Server that require
the generation of a Javacore as part of problem resolution. |
|
|
Resolving the
problem |
Generating a Javacore from a Windows® command prompt:
- Open a Windows command prompt.
- Go to the install_root\AppServer\bin folder.
- Issue a command as follows for the appropriate server (in this
example, server1):
- startServer
server1 -script
- The output of this command will be a
start_server1.bat file
- Stop server1, then clean out the logs,
logs/server1, and logs/ffdc folders.
- At the Windows command line, type:
- start_server1
- This starts server1, but you retain control in the
command prompt window.
- To generate a Javacore, press <Ctrl> + <Break> keys
simultaneously. The following commands are generated:
JVMDG217: Dump Handler is Processing a Signal -
Please Wait.
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to
C:\WebSphere5\AppServer\bin\javacore......txt
JVMDG215: Dump Handler has Processed Dump Signal 21.
|
|
|
|
|
Cross Reference information |
Segment |
Product |
Component |
Platform |
Version |
Edition |
Application Servers |
Runtimes for Java Technology |
Java SDK |
|
|
|
|
|
|