You should also check your STAX JVM log to see if there are any errors logged there.
Please see section "15.8 Debugging hung STAX jobs" in the STAF Diagnostics Guide at http://staf.sourceforge.net/current/STAFDiag.htm. It talks about how you can debug hung STAX jobs by using STAX service requests to list/query information about the job to determine where and why it is blocked. For example, if the job ID of a "blocked" job is 5, do the following on the STAX service machine: STAF local STAX LIST JOB 5 THREADS Then query each thread id in the list returned by the above command to determine which thread is blocked and which element in your STAX xml file is blocked. This command provides a thread stack that provides the exact line # of the blocked element and a condition stack. That information can help determine why the job is blocked: STAF local STAX QUERY JOB 5 THREAD <ThreadID> Note that one common cause is if the thread stack shows that a <process> never completed, and thus is blocking the STAX job from completing. If the process actually has completed, then the problem could be because when the remote machine where the process was running tried to send a process completion message to the STAX service machine, it failed to find the STAX service machine possibly due to a TCP/IP DNS configuration problem. -------------------------------------------------------------- Sharon Lucas IBM Austin, luc...@us.ibm.com (512) 286-7313 or Tieline 363-7313 Li Wiston <wiston.l...@gmail.com> 07/24/2009 01:20 AM To sha...@acmet.com cc staf-users@lists.sourceforge.net, David Bender/Austin/i...@ibmus Subject Re: [staf-users] How to get all job and terminate them? Hi, all For unknown issues, there are some blocked jobs for the STAX execution, my question is How to get all job and terminate them? and which reason can result in the block jobs? can anyone give us some clue? thanks in advance. 2009/7/21 Shahid <sha...@acmet.com> >> Can you clarify exactly what you mean by "profiling" STAX job execution? Profiling of STAX Job means to gather following information about STAX Job execution: 1. Memory / CPU usage by services / methods written in STAX Job 2. Checking the memory leak during STAX Job execution 3. Checking the dead lock condition during STAX Job execution 4. Time taken by STAF services used in STAX Job and method written in STAX Job for completing the request Hope, now you got the purpose of profiling of STAX Job. >>The following Help forum thread has some more information: >> >>http://sourceforge.net/forum/message.php?msg_id=7421451 Thanks for providing the link. I will check information present at: http://sourceforge.net/forum/message.php?msg_id=7421451 and let you know it status. Thanks and Regards, Mohammad Shahid Jamal From: David Bender [mailto:bda...@us.ibm.com] Sent: Monday, July 20, 2009 7:22 PM To: sha...@acmet.com Cc: staf-users@lists.sourceforge.net Subject: Re: [staf-users] How to profile STAX Job Execution? Can you clarify exactly what you mean by "profiling" STAX job execution? If you mean analyzing memory usage, performance, etc., there is no software provided with STAF/STAX to do that. However, STAX is written in Java, so you could use Java profiling tools to do the analysis. The following Help forum thread has some more information: http://sourceforge.net/forum/message.php?msg_id=7421451 Thanks, David David Bender STAF/STAX Development IBM Software Group, WPLC 11501 Burnet Rd. Bldg. 903-5B002 Austin, TX 78758-3400 Phone (T/L): 1-512-286-5315 (363-5315) ITN: 23635315 Email: bda...@us.ibm.com "Shahid" <sha...@acmet.com> 07/20/2009 12:42 AM Please respond to sha...@acmet.com To <staf-users@lists.sourceforge.net> cc Subject [staf-users] How to profile STAX Job Execution? How we can profile the STAX Job execution? Is there any software available for profiling STAX Job execution? With Regards, Mohammad Shahid Jamal ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users ------------------------------------------------------------------------------ _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------
_______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users