A thread dump is a log containing information about currently running
threads and processes. It can be useful during troubleshooting when
trying to identify exactly when an issue occurs.
To collect a thread dump on IBM WebSphere 5.x
Open a command prompt.
Select Start
> Run.
Type cmd.
Click Enter.
Change to the WAS_HOME\bin directory.
Start the wsadmin command prompt. Type wsadmin and press Enter.
The command
prompt changes to wsadmin>.
At the wsadmin> prompt, point
to the application server with the issues.
For example, at the wsadmin> prompt, type set jvm {$AdminControl completeObjectName
type=JVM, process=server1, *] and press Enter.
Generate the thread dump. At the wsadmin> prompt, type $AdminControl? invoke $jvm dumpThreads, and press Enter.
Look for the thread dump file in the WAS_HOME directory. It
will have a name like javacode.date.time.id.txt.