Posts

Showing posts from October, 2016

Generate ThreadDump in Websphere Application Server

Image
Thread-Dump is the snapshot of  the state of thread in JVM. thread dump are used to diagnose the application performance issue like deadlock and hung thread. Taking thread in Websphere application server . 1. generate thread dump through wsadmin command Step1 . cd /opt/IBM/WebSpeher/AppServer/Profiles/AppSrv01/bin ./wasadmin   -user wasadmin -password wasadmin Step 2. set the parameter <wsadmin> set jvm [$AdminControl completeObjectName type =JVM, process=<servername>,*] Step 3. Invoke the command. <wsadmin>$AdminControl invoke $objectName dumpThreads Execute this command three times in the interval of the atleast 3 or 4  second . Note :- See Real Example   [root@localhost bin]# ./wsadmin.sh -user wasadmin -password wasadmin WASX7209I: Connected to process "dmgr" on node localhostCellManager01 using SOAP connector;  The type of process is: DeploymentManager WASX7029I: For help, enter: "$Help help" wsadmin>s...