One option would be to use a .bat file to start STAFProc (rather than 
starting
STAFProc.exe directly).  Your .bat file could have a "sleep" for an 
appropriate
number of seconds (to allow the network enough time to be enabled), and 
then
start STAFProc.  For example:

sleep 60
STAFProc

You could configure your client Windows machine to start this .bat file 
(instead
of STAFProc.exe) as a scheduled task or a Windows service.

David Bender
STAF/STAX Development
8-1268 (512-838-1268) 
IBM Austin Bldg. 903-5B002
Internet: [EMAIL PROTECTED]




"Gurpreet Anand" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
01/16/2008 01:42 AM

To
<staf-users@lists.sourceforge.net>
cc

Subject
[staf-users] Not able to Ping STAF on other machine : IF STAFProc service 
is started before actuall network connection is done...Please advice






I have a Master machine and a Client machine containing STAF and STAX.. 
Both are Windows OS. The master re-starts the client first. On the Startup 
of the client machine the STAFProc service is started. The network here is 
so slow, that the network connection is eneblead after that ( i.e. after 
the STAFProc is started on the Client)... After this the master tries to 
Ping the STAF service on the client and it gives an RC = 21 ..which means 
that the STAF is not running on the client machine. I restarted STAFProc 
on the client machine manually and after this the Master is able to Ping 
the Client machine. I also got some error related to 
stafconnectionproviderconnect. Can someone please tell me what can I do 
here, so that the STAF on the master can ping STAF on the client.
DISCLAIMER ========== This e-mail may contain privileged and confidential 
information which is the property of Persistent Systems Ltd. It is 
intended only for the use of the individual or entity to which it is 
addressed. If you are not the intended recipient, you are not authorized 
to read, retain, copy, print, distribute or use this message. If you have 
received this communication in error, please notify the sender and delete 
all copies of this message. Persistent Systems Ltd. does not accept any 
liability for virus infected mails.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to