The following forum thread describes the same problem and ways to debug
it:
http://sourceforge.net/forum/message.php?msg_id=4774490
"STAX process hang: not getting return codes?"
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
Sangram Bakshi <san...@gmail.com>
09/01/2009 08:26 AM
To
staf-users@lists.sourceforge.net
cc
Subject
[staf-users] Problem in paralleiterate
Hi ,
I am trying to run a script on two machine.....the code snippet i use is :
<paralleliterate var="testMach" in="machname" indexvar="i">
<sequence>
<process name="'Starting Quick Sanity Testing on machine %s.....' %
testMach">
<location>testMach</location>
<command mode="'shell'">'%s/%s ' % (tdir,rtstscript)
</command>
<stdout>'%s/%s_%s' % (tdir,rname,testMach)</stdout>
</process>
<if expr="RC == 0">
<message log="1">'Quick Sanity Success Run on %s !!!! - RC: %s, Result:
%s' % (testMach,RC,STAFResult)</message>
</if>
<if expr="RC != 0">
<message log="1">'Failed to run Quick Sanity on %s !!!! - RC: %s,
Result: %s' % (testMach,RC, STAFResult)</message>
</if>
</sequence>
</paralleliterate>
It runs fine in one machine (fast machine takes 15 minutes ), in the
second machine(slow machine ) it goes on running and does'nt returns.
I get log message for one machine as Quick Sanity Success on machine a .
For second machine i do not get any messages.
If i run the scripts independently on each machine they both run
successfully ...machine a takes 15 minutes ...machine b takes 25
minutes(machine b is a bit slow). But through staf and stax , the script
seems to run infinitely.
Kindly suggest how to run this successfully.
Regards
Sangram
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day
trial. Simplify your report design, integration and deployment - and focus
on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users