Express (Distributed operating systems), v8.0 > Troubleshoot and support > Analyzing application server Java system dumps with the IBM Monitoring and Diagnostic Tools for Java - Dump Analyzer > Write Dump Analyzer modules for WAS diagnostics - Tutorial


Tutorial: Writing Dump Analyzer modules for WAS diagnostics


Putting it together: sample output for the WASThreadPoolsSample analyzer

Here is a sample report from a run on a very small WAS 6.1 dump:

DumpAnalyzer V:2.0.0.20080319173525 starting analysis of server1.dmp.zip

===========================================================================

  1. Observations

===========================================================================

No observations

=========================================================================== 2. Analysis results ===========================================================================

DumpAnalyzer V:2.0.0.20080319173525 : Start analysis of C:\00tmp\DTFJ\WAS61-Win-cur\server1.dmp.zip

2.1. ========== Results from Analyzer=com.ibm.dtfj.analyzer.was.samples.WASThreadPoolsSampleX ==========

Analyzer full name: WASThreadPoolsSampleX Analyzer version: 1.0.0.20080310-EXPERIMENTAL(alpha) Analyzer description: A sample analyzer that demonstrates how to write analysis modules (using WAS thread pools as an example)

2.1.1. ========== Common WebSphere header information ==========

WebSphere version: WebSphere Platform 6.1 [ND 6.1.0.5 cf50652.12] Process ID: Host name: [ <unavailable>] Dump creation time: [ <unavailable>] Server name: "server1" Cell name: "flatironCell10" Node name: "flatironNode10" Cluster name: null Host Operating System: Windows XP Version: 5.1 build 2600 Service Pack 2 Java version: Java(TM) 2 Runtime Environment, Standard Edition(build 2.3) IBM J9 VM(J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223-20061001 (JIT enabled) J9VM - 20060915_08260_lHdSMR JIT - 20060908_1811_r8 GC - 20060906_AA) was.install.root: E:/WAS61/AppServer user.install.root: E:/WAS61/AppServer/profiles\Cell10AS1

2.1.2. ========== Summary information ==========

Global Statistics Number of pools successfully scanned: 14 Number of pools scanned with errors: 0 Current number of pool threads: 12 Maximum possible number of pool threads: 433 Number of JVM threads not in a pool: 46 Summary list of pools "ORB.thread.pool" Size: 0 com/ibm/ws/util/ThreadPool@0x00AA7B30 "HAManager.thread.pool" Size: 1 com/ibm/ws/util/ThreadPool@0x0102D4B8 "WLMMonitorSleeper" Size: 1 com/ibm/ws/util/ThreadPool@0x011672C8 "SoapConnectorThreadPool" Size: 2 com/ibm/ws/util/ThreadPool@0x01F91058 "WebContainer" Size: 0 com/ibm/ws/util/ThreadPool@0x02149CE8 "Default" Size: 0 com/ibm/ws/util/ThreadPool@0x022C36F0 "server.startup" Size: 1 com/ibm/ws/util/ThreadPool@0x022DE1F8 "MessageListenerThreadPool" Size: 0 com/ibm/ws/util/ThreadPool@0x02668CC8 "BBTree" Size: 0 com/ibm/ws/util/ThreadPool@0x0270E020 "NotificationServiceDispatcher" Size: 1 com/ibm/ws/util/ThreadPool@0x028BAA80 "LocalNotificationServiceDispatcher" Size: 1 com/ibm/ws/util/ThreadPool@0x02C07A38 "ProcessDiscovery" Size: 1 com/ibm/ws/util/ThreadPool@0x02D13328 "PluginConfigService" Size: 0 com/ibm/ws/util/ThreadPool@0x03031880 "TCPChannel.DCS" Size: 4 com/ibm/ws/util/ThreadPool@0x036F1850

2.1.3. ========== Detailed information ==========

Thread Pool: com/ibm/ws/util/ThreadPool@0x00AA7B30 Pool name: "ORB.thread.pool" Min size: 10 Max size: 50 Current size: 0 List of Threads: java/util/HashMap@0x00AA7B98 (0 entries)

Thread Pool: com/ibm/ws/util/ThreadPool@0x0102D4B8 Pool name: "HAManager.thread.pool" Min size: 2 Max size: 2 Current size: 1 List of Threads: java/util/HashMap@0x0102D520 (1 entries) Thread: com/ibm/ws/util/ThreadPool$Worker@0x01FE9008 com/ibm/ws/util/ThreadPool$Worker@0x01FE9008 Thread name: "HAManager.thread.pool : 0" Thread number: "00000025" Priority: 5 Start time: 0

Thread Pool: com/ibm/ws/util/ThreadPool@0x011672C8 Pool name: "WLMMonitorSleeper" Min size: 0 Max size: 10 Current size: 1 List of Threads: java/util/HashMap@0x01167330 (1 entries) Thread: com/ibm/ws/util/ThreadPool$Worker@0x0116A120 com/ibm/ws/util/ThreadPool$Worker@0x0116A120 Thread name: "WLMMonitorSleeper : 0" Thread number: "0000000d" Priority: 5 Start time: 0

Thread Pool: com/ibm/ws/util/ThreadPool@0x01F91058 Pool name: "SoapConnectorThreadPool" Min size: 3 Max size: 5 Current size: 2 List of Threads: java/util/HashMap@0x01F910C0 (2 entries) Thread: com/ibm/ws/util/ThreadPool$Worker@0x00894B60 com/ibm/ws/util/ThreadPool$Worker@0x00894B60 Thread name: "SoapConnectorThreadPool : 1" Thread number: "00000028" Priority: 5 Start time: 0 Thread: com/ibm/ws/util/ThreadPool$Worker@0x03739BB0 com/ibm/ws/util/ThreadPool$Worker@0x03739BB0 Thread name: "SoapConnectorThreadPool : 0" Thread number: "00000027" Priority: 5 Start time: 0

Thread Pool: com/ibm/ws/util/ThreadPool@0x02149CE8 Pool name: "WebContainer" Min size: 10 Max size: 50 Current size: 0 List of Threads: java/util/HashMap@0x02149D50 (0 entries)

Thread Pool: com/ibm/ws/util/ThreadPool@0x022C36F0 Pool name: "Default" Min size: 5 Max size: 20 Current size: 0 List of Threads: java/util/HashMap@0x022C3758 (0 entries)

Thread Pool: com/ibm/ws/util/ThreadPool@0x022DE1F8 Pool name: "server.startup" Min size: 1 Max size: 3 Current size: 1 List of Threads: java/util/HashMap@0x022DE260 (1 entries) Thread: com/ibm/ws/util/ThreadPool$Worker@0x00A69A28 com/ibm/ws/util/ThreadPool$Worker@0x00A69A28 Thread name: "server.startup : 1" Thread number: "0000001e" Priority: 5 Start time: 0

Thread Pool: com/ibm/ws/util/ThreadPool@0x02668CC8 Pool name: "MessageListenerThreadPool" Min size: 10 Max size: 50 Current size: 0 List of Threads: java/util/HashMap@0x02668D30 (0 entries)

Thread Pool: com/ibm/ws/util/ThreadPool@0x0270E020 Pool name: "BBTree" Min size: 1 Max size: 1 Current size: 0 List of Threads: java/util/HashMap@0x0270E088 (0 entries)

Thread Pool: com/ibm/ws/util/ThreadPool@0x028BAA80 Pool name: "NotificationServiceDispatcher" Min size: 1 Max size: 100 Current size: 1 List of Threads: java/util/HashMap@0x028BAAE8 (1 entries) Thread: com/ibm/ws/util/ThreadPool$Worker@0x0190DBE8 com/ibm/ws/util/ThreadPool$Worker@0x0190DBE8 Thread name: "NotificationServiceDispatcher : 2" Thread number: "00000022" Priority: 5 Start time: 0

Thread Pool: com/ibm/ws/util/ThreadPool@0x02C07A38 Pool name: "LocalNotificationServiceDispatcher" Min size: 1 Max size: 100 Current size: 1 List of Threads: java/util/HashMap@0x02C07AA0 (1 entries) Thread: com/ibm/ws/util/ThreadPool$Worker@0x01848FA8 com/ibm/ws/util/ThreadPool$Worker@0x01848FA8 Thread name: "LocalNotificationServiceDispatcher : 1" Thread number: "00000021" Priority: 5 Start time: 0

Thread Pool: com/ibm/ws/util/ThreadPool@0x02D13328 Pool name: "ProcessDiscovery" Min size: 1 Max size: 2 Current size: 1 List of Threads: java/util/HashMap@0x02D13390 (1 entries) Thread: com/ibm/ws/util/ThreadPool$Worker@0x01E9AE38 com/ibm/ws/util/ThreadPool$Worker@0x01E9AE38 Thread name: "ProcessDiscovery : 0" Thread number: "0000002b" Priority: 5 Start time: 0

Thread Pool: com/ibm/ws/util/ThreadPool@0x03031880 Pool name: "PluginConfigService" Min size: 5 Max size: 20 Current size: 0 List of Threads: java/util/HashMap@0x030318E8 (0 entries)

Thread Pool: com/ibm/ws/util/ThreadPool@0x036F1850 Pool name: "TCPChannel.DCS" Min size: 5 Max size: 20 Current size: 4 List of Threads: java/util/HashMap@0x036F18B8 (4 entries) Thread: com/ibm/ws/util/ThreadPool$Worker@0x012F3158 com/ibm/ws/util/ThreadPool$Worker@0x012F3158 Thread name: "TCPChannel.DCS : 3" Thread number: "00000016" Priority: 5 Start time: 0 Thread: com/ibm/ws/util/ThreadPool$Worker@0x011ACE18 com/ibm/ws/util/ThreadPool$Worker@0x011ACE18 Thread name: "TCPChannel.DCS : 1" Thread number: "00000012" Priority: 5 Start time: 0 Thread: com/ibm/ws/util/ThreadPool$Worker@0x012CE728 com/ibm/ws/util/ThreadPool$Worker@0x012CE728 Thread name: "TCPChannel.DCS : 2" Thread number: "00000015" Priority: 5 Start time: 0 Thread: com/ibm/ws/util/ThreadPool$Worker@0x011819F0 com/ibm/ws/util/ThreadPool$Worker@0x011819F0 Thread name: "TCPChannel.DCS : 0" Thread number: "00000011" Priority: 5 Start time: 0

=========================================================================== 3. Errors ===========================================================================

Data items unavailable : 2


Next Topic

THE END