Dump threads in server processes using scripting
Before starting this task, the wsadmin tool must be running.
Procedure
The following example produces a javacore file. You can use this file for problem determination.jvm = AdminControl.completeObjectName('type=JVM,process=server1,*')
AdminControl.invoke(jvm, 'dumpThreads')
Use the AdminControl object for scripted administration
Commands for the AdminControl object