Sorry it was my first time using mailing list, should I reply to you or to staf-us...@lists.sourceforge.net?
I suspected that in the beginning. But it turned out that staf <stax-machine> PING PING works. Also if I execute the process command in command-line interface. it works. For example: I tried to run: staf <stax-machine> PROCESS START COMMAND "/usr/bin/vmrun" PARMS list WAIT and it works fine. But the same command does not work in STAX, it just hangs. Regards, Zhe Li ______________________________________ QA Specialist Lavasoft http://www.lavasoft.com Odinsgatan 10 411 03 Gothenburg Sweden Protecting your Privacy P Before printing, think about the environment ________________________________________ From: David Bender [bda...@us.ibm.com] Sent: Tuesday, August 03, 2010 4:07 PM To: Zhe Li Cc: staf-users@lists.sourceforge.net Subject: Re: [staf-users] STAX fails to receive response from a finished process command. 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<http://w3.ibm.com/bluepages/simpleSearch.wss?searchBy=Name&searchFor=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<mailto:bda...@us.ibm.com> ________________________________ [cid:1__=09BBFDE7DFDEC2D48f9e8a93df938@us.ibm.com]Zhe Li ---08/03/2010 08:48:30 AM---Hello everyone! About two weeks ago, our STAX script stopped working. It seems it executed the comma From: Zhe Li <zhe...@lavasoft.com> To: "staf-users@lists.sourceforge.net" <staf-users@lists.sourceforge.net> 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 staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users ------------------------------------------------------------------------------ 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 staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users