+

Search Tips   |   Advanced Search

Web module or application server stops processing requests


Force a thread dump

The JVM creates a thread dump whenever an application server process spontaneously closes. We can also force an application to create a thread dump. A thread dump, or a javacore dump as it is also called, is one of the primary problem determination documents an application server creates. After a dump is created, we can check the dump for clues as to why new requests are not being processed.

  1. Use the wsadmin command prompt, get a handle to the problem application server:

      wsadmin>set jvm [$AdminControl completeObjectName type=JVM,process=server,*]

    where server is the name of the server.

  2. Generate the thread dump:

      wsadmin>$AdminControl invoke $jvm dumpThreads

    The dumpThreads command creates other types of dump files depending on the -Xdumps settings. Dump output varies depending on the platform and might include system core files, heap, and snap dumps.

  3. Look for an output file, in the installation root directory for the product, with a name like...

After the application creates the dump, we can check for the following clues:

IBM Support Assistant has analyzer and visualization tools that can save you time gathering information needed to resolve problems.


  • IBM Heap Analyzer
  • Monitor performance with Tivoli Performance Viewer
  • Start the wsadmin scripting client