Java Core Dump
Download the file windows_hang.py and copy the file to your <PROFILE_ROOT>\bin directory. If instead copied to <WAS_HOME>\bin, the default server, which may be the deployment manger (dmgr), will be accessed when wsadmin.bat is launched.
NOTE: This script only works for WebSphere Application Server 6.1 and higher.
If you are looking for the older windows_hang.bat that works with older releases of WebSphere Application Server, see the FAQ section.
To launch the script to produce 3 javacores spaced 2 minutes apart, run this command:
wsadmin -lang jython -f windows_hang.py -j -s SERVER_NAME
Replacing SERVER_NAME with your server's name.
If you have to run this number of times, on windows, you can write a batch file and run the batch file as Administrator.
<WAS_HOME>\profiles\<PROFILE_NAME>\bin\wsadmin -lang jython -username <username> -password <password> -f \<path_to_windows_hang.py>\windows_hang.py -j -s SERVER_NAME
ex.,
\"Program Files"\ibm\WebSphere\AppServer\profiles\AppSrv01\bin\wsadmin -lang jython -username blahblah -password blahblah -f \users\bramaraju\desktop\windows_hang.py -j -s server01
http://www-01.ibm.com/support/docview.wss?uid=swg21111364
1/10/13
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment