Please open a bug via http://staf.sourceforge.net for the Process Monitor 
Thread error message that is continuously being logged when you run a 
process on your Windows machine.  Does this happen for any command that 
you run via a PROCESS START request on this Windows machine?  e.g. If you 
run something like the following PROCESS START request Windows machine, 
does it cause the looping error message to occur?

  STAF staf-win PROCESS START SHELL COMMAND "dir C:\\staf" RETURNSTDOUT 
STDERRTOSTDOUT WAIT

In regards to the FS COPY FILE issue you're seeing, if you submit the 
following request from the command line now, what is the result?  Does it 
complete successfully or do you get an error message (and if so, what 
error message)?  If it completed successfully, what is the size of file 
C:\builds\1014\deploy\file-1.jar and does it contain the same contents as 
the file you copied it from?

  STAF staf-windows FS COPY FILE D:\builds\1014\file-1.jar TODIRECTORY 
D:\builds\1014\deploy TOMACHINE staf-windows

If the D:\builds\1014\file-1.jar file does not contain confidential 
information, can you send that file to me to try to recreate the problem?

--------------------------------------------------------------
Sharon Lucas
IBM Austin,   luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313




Raymond Kroeker <raykroe...@gmail.com> 
06/17/2009 02:52 PM
Please respond to
raykroe...@gmail.com


To
Sharon Lucas/Austin/i...@ibmus
cc
staf-users@lists.sourceforge.net
Subject
Re: [staf-users] Process Monitor Thread






Hi Sharon,

Sorry for the delayed response.  I had some other priorities.

It's actually the other way around.  I'm submitting the PROCESS START 
request to Windows from Linux.  The process command issued is:

staf-win PROCESS START SHELL COMMAND C:\common\apache-ant-1.7.1\bin\ant 
PARMS -Dpath=D:\builds\992 WORKDIR D:\builds\992\test-ui WAIT RETURNSTDOUT

There are two other issues we are encountering:
  1.  The error 22; which appears to be network related (as previously 
discussed).
  2.  When copying files via staf the copy tends to be corrupt; in one 
case a 0 byte file.  In this scenario we are issuing:

staf-windows FS copy file D:\builds\1014\file-1.jar TODIRECTORY 
D:\builds\1014\deploy TOMACHINE staf-windows

  from the linux box in preparation for running the tests.  The resultant 
file at D:\builds\1014\deploy is file-1.jar of 0kb size when the original 
is 41kb.

  The error message is being logged continuously which at some point 
requires us to stop/start staf on the Windows machine in order to service 
future requests.

  I will send the var lists directly to you instead of posting to the 
mailing list.

Raymond

On Mon, Jun 15, 2009 at 16:08, Sharon Lucas <luc...@us.ibm.com> wrote:

The WaitForMultipleObject() function is a Windows function that STAF's 
ProcessMonitorThread() method calls on Windows machines when monitoring 
processes to see when they have completed so can notify the submitter. 
 We've not seen this error before. 

So, you're saying that from a Windows machine, you're submitting a PROCESS 
START request to run a process on a Ubuntu Linux machine.  What is the 
exact PROCESS START command that you are submitting?  Are you seeing any 
bad effects (other than this error message)?  e.g. Are you being properly 
notified when a process has completed and getting its process completion 
messages? 

Also, please provide the output from running the following STAF command on 
your Windows 2003 Server SP 2 machine and on your Ubuntu Linux machine: 

  STAF local VAR LIST

--------------------------------------------------------------
Sharon Lucas
IBM Austin,   luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313



Raymond Kroeker <raykroe...@gmail.com> 
06/15/2009 04:57 PM 


Please respond to
raykroe...@gmail.com


To
staf-users@lists.sourceforge.net 
cc

Subject
[staf-users] Process Monitor Thread








I've come across a situation where the staf process logs an error
message repeated for a given machine.  We are running STAF 3.3.2 on
Windows 2003 Server SP 2.  The error message reads:

20090615-15:48:05;2348;00000100;Got WAIT_FAILED from
WaitForMultipleObjects() in ProcessMonitorThread(), OS_RC: 6

This happens after a directory listing or running test cases via the
process service or almost any request from an instance of 3.3.2
running on Ubuntu Linux.

Has anyone seen this before, and/or can shed any light on the situation?

-- 
---------------------------------------------------------
Raymond Kroeker

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users




-- 
---------------------------------------------------------
Raymond Kroeker
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to