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