how to generate and analyze a WebSphere heapdump

August 21st, 2009 § 2 Comments

./was_profile/bin/wsadmin.sh -conntype SOAP -host wcl.private.lan -port 10033 -user wasadmin -password passw0rd

WASX7209I: Connected to process “WebSphere_Portal” on node wcl using SOAP connector; the type of process is: unManagedProcess; WASX7029I: For help, enter: “$Help help”

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

WebSphere:name=JVM,process=WebSphere_Portal,
platform=dynamicproxy,node=wcl,j2eeType=JVM,
J2EEServer=WebSphere_Portal,version=6.0.2.17,
type=JVM,mbeanIdentifier=JVM,cell=wcl

wsadmin>$AdminControl invoke $jvm generateHeapDump
wsadmin>$AdminControl invoke $jvm dumpThreads

IBM’s support assistant (ISA) is an Eclipse based tool with quite a number of plugins to analyze heapdumps – a good developerworks article can be found here (part I) and here (part II).

To analyze WebSphere Portal performance issues, although this document is applicable to isolate performance problems around Java based application servers in general , see here.

see also here

§ 2 Responses to how to generate and analyze a WebSphere heapdump

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

What’s this?

You are currently reading how to generate and analyze a WebSphere heapdump at Bernhard Hensler.

meta

Follow

Get every new post delivered to your Inbox.