Hi David, I encountered the same problem.
I have two machines installed STAF, one in the lab, say qb04.cn.ibm.com(AIX), and the other in the office, say mydesktop.cn.ibm.com(WindowXP). mydesktop.cn.ibm.com has also with STAX installed. I can run STAF qb04.cn.ibm.com PING PING successfully from mydesktop.cn.ibm.com, but failed from qb04.cn.ibm.com because mydesktop.cn.ibm.com not in our lab's DNS server. Since I can get mydesktop.cn.ibm.com added to the lab's DNS server, I tried to add an entry to /etc/hosts on qb04.cn.ibm.com. After that I can ping mydesktop.cn.ibm.com from qb04.cn.ibm.com using command 'ping mydesktop.cn.ibm.com', but still failed to run STAF mydesktop.cn.ibm.com PING PING which should be reason why my jobs never end according to your explanation, the error message is: Error submitting request, RC: 16 Additional info --------------- STAFConnectionProviderConnect: Timed out connecting to endpoint: select() timeout: 22, Endpoint: ssl://mydesktop.cn.ibm.com I want to know, why this happened since I already can ping the target machine using command? How can I solve this? Thanks! 2009/2/25 David Bender <bda...@us.ibm.com>: > > This is most likely a network/firewall issue. When you execute a <process> > in a STAX job, the process is started asynchronously on the remote machine. > When the process completes, the remote machine attempts to communicate back > to the STAX service machine, in order to inform the STAX service that the > process has completed. If this communication fails, then the STAX process > will never end. On the remote machine where the process is executing, try > running "STAF <stax-service-hostname> PING PING" to see if that works. If > not, then there is some sort of network/firewall issue blocking the > communication. > > David Bender > STAF/STAX Development > (512-286-5315) > IBM Austin Bldg. 903-5B002 > Internet: bda...@us.ibm.com > > > > Phil Rumble <prum...@au1.ibm.com> > > 02/24/2009 10:48 PM > > To > staf-users@lists.sourceforge.net > cc > Subject > [staf-users] STAX process jobs never ends > > > > > > G'day. > > I'm using STAX 3.3.5 and trying to get a STAX job to issue a command to the > remote machine. > > > Now I issue the commands > Please note I have remove actual commands and ip addresses. I have proven > that this behaviour occurs regardless. > > This command works and returns the output > staf <ip> PROCESS START SHELL COMMAND "<cmd>" RETURNSTDOUT RETURNSTDERR > WAIT > > > staf <ip> PROCESS START SHELL COMMAND "<cmd>" RETURNSTDOUT RETURNSTDERR > followed by > staf <ip> PROCESS QUEURY HANDLE <handle> > shows that the command has indeed completed. > > So when I issue the STAX job > > <process name="'cmd'"> > <location>machine</location> > <command mode="'shell'">'"<cmd>"'</command> > <stderr mode="'stdout'"/> > <returnstdout/> > </process> > > Can anyone explain why it never completes? > > Thanks > Phil Rumble > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > staf-users mailing list > staf-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/staf-users > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > staf-users mailing list > staf-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/staf-users > > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users