Sharon,

now I performed the proposed test. While under STAF/STAX the problem shows up in
about 30% of the tests, I could not recreate the problem starting the process
manually.

I did not change anything of the parameters of the process. As it wants to 
write to
STAXMon, I started my normal STAXJob using the "HOLD" option and gave the JobID
to the process, as normally is done by my STAX script.

So, the only difference should be using STAF/STAX or not.

Bodo


________________________________
From: Sharon Lucas [mailto:luc...@us.ibm.com]
Sent: Wednesday, July 15, 2009 9:03 PM
To: Strösser, Bodo
Cc: 'staf-users@lists.sourceforge.net'
Subject: Re: [staf-users] Sporadically first line of stderr missing


Hi Bodo,

There are no known problems.

If you run your process without using STAF/STAX and redirect its stdout and 
stderr to the same file do you ever see this problem occur?  For example:

  # yourprogram > /tmp/process.out 2>&1

If so, then it wouldn't appear to be a problem in STAF/STAX.

If this problem doesn't occur when you run the program without STAF/STAX, If 
you change your <process> element to redirect stdout and stderr to two 
different files by using the <stderr> element and specifying a file name and 
not specifying mode="'stdout'", does the problem no longer occur?  e.g. Does 
the stderr file always contain the first line you expect to be written to it?

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



Strösser, Bodo <bodo.stroes...@ts.fujitsu.com>

07/15/2009 01:30 PM

To
"'staf-users@lists.sourceforge.net'" <staf-users@lists.sourceforge.net>
cc
Subject
[staf-users] Sporadically first line of stderr missing





Hi,

my STAXJob starts a <process>. The process writes to stdout and stderr quite
simultaneously, as it forks and one writes to stdout and the other writes to 
stderr
both using fputs().
All output lines also are printed to STAXMon using 'STAX JOB nn MESSAGE'

STAFF shall write both, stdout and stderr to one file, as the <process> element
contains a <stdout>filename</stdout> and a <stderr mode="'stdout'"/>.

On STAXMon, all output messages are present. But on the file, sometimes the
first line of stderr is missing. All others always are present.

Is there any known problem?

Best Regards
Bodo------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: 
http://p.sf.net/sfu/Challenge_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to