We have experienced intermittent connection issues with STAF, using STAF 3.3.5 and STAX 3.3.8. We programmed our commands in STAX as an xml file, and intermittently, some commands (this could be any command) are being processed, but it appears that they were not even received by the target end. (I can tell this because it doesn't pop up a console window in the Windows XP, as I normally see on processed commands). Thus, the process is hanging there forever because the STAX will just keep waiting for the response from the target system.
In all of our systems, I have set the follow properties in the STAF.cfg:
interface tcp library STAFTCP option Secure=No option Port=6500 option connecttimeout=15000
# interface ssl library STAFTCP option Secure=Yes option Port=6550
SET CONNECTATTEMPTS 5 CONNECTRETRYDELAY 5000
set INITIALTHREADS 10 THREADGROWTHDELTA 10
Note that ssl is commented out to ensure using tcp only for best connection reliability and performance.