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: [email protected]




Phil Rumble <[email protected]> 
02/24/2009 10:48 PM

To
[email protected]
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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to