Hi,

I keep getting the following issue quite often. I have tried increasing
'CONNECTTIMEOUT' on both local and remote machines and also increased
'Connection Attempts' on local machine to 5, but somehow I am not able to get
this issue resolved.

Line 793: Error in element type "process".

The process failed to start, RC: 16, STAFResult: STAFConnectionProviderConnect:
Error performing test read on connected endpoint: recv() RC=111: 22, Endpoint:
ssl://1.2.3.4 (IP is an example here)

Code snippet is as below. Basically, trying to run a command on remote machine.
<process>
    <location>'%s' % cmdMachine</location>
    <command mode='"shell"'>'%s' % command['cmdToExecute']</command>
    <parms>'%s' % commandParameters </parms>
    <stderr mode="'stdout'"/>
    <returnstdout/>
</process>

Is there anyway wrap this code so that 'process' statement gets executed only if
the remote machine is ready.

Thanks,
Umesh


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to