This is most likely a network issue, where the machine where the process is executing can't communicate with the STAX service machine to inform it that the process has completed. On the target machine, try running "STAF <stax-machine> PING PING". If it fails with an RC 16, then see section 3.1.4 "Why can't my STAF machines communicate?" in the STAF FAQ: http://staf.sourceforge.net/current/STAFFAQ.htm
Thanks,
David
David Bender 11501 Burnet Rd. Phone (T/L): 1-512-286-5315
STAF/STAX Development Bldg. 903-5B002 (363-5315)
Austin, TX ITN: 23635315
IBM Software Group, 78758-3400 Email: [email protected]
WPLC
From: Zhe Li <[email protected]>
To: "[email protected]"
<[email protected]>
Date: 08/03/2010 08:48 AM
Subject: [staf-users] STAX fails to receive response from a finished
process command.
Hello everyone!
About two weeks ago, our STAX script stopped working. It seems it executed
the command correctly, but could not be able to receive the response from
the target machine. So even after the command is executed on the target
machine, STAX still thinks it is still launching hangs there. I made a
simple script to try it out but with no luck.
test.xml
----------------
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE stax SYSTEM "stax.dtd">
<stax>
<defaultcall function="start" />
<function name="start">
<function-map-args>
<function-optional-arg
name="image"
default ="'/home/zhe/Harddisk_500G/winxp_pro/Windows XP Professional.vmx'">
The image
location of the
virtual machine.
</function-optional-arg>
</function-map-args>
<testcase name="'test'" mode="'strict'">
<sequence>
<process
name="'test1'">
<location>'10.0.1.134'</location>
<command>'/usr/bin/vmrun'</command>
<parms>'start
"%s"' % image</parms>
<stdout>'stdout.txt'</stdout>
<stderr
mode="'stdout'" />
<returnstdout/>
<console
use="'same'"/>
</process>
<if expr="RC
!= 0">
<sequence>
<log level="'error'">STAXResult</log>
<tcstatus result="'fail'" />
</sequence>
<else>
<tcstatus result="'pass'" />
</else>
</if>
</sequence>
</testcase>
</function>
</stax>
>From STAX monitor I could see STAX stopped at this testcase and hanged
there while the VM was already powered on.
I tried reinstalled STAF, STAX and JRE on both machines but it still didn't
work. Could anyone please tell me what might be wrong? Thanks a lot!
Cheers,
Zhe Li
______________________________________
QA Specialist
Lavasoft
http://www.lavasoft.com
Odinsgatan 10 411 03 Gothenburg Sweden
Protecting your Privacy
Before printing, think about the environment
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
staf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/staf-users
<<inline: graycol.gif>>
<<inline: ecblank.gif>>
------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm
_______________________________________________ staf-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/staf-users
