Yes, I have ever come across this problem
For example, the STAX script below is always hang
<!--2,svn update team script-->
<process>
<location>'%s' % machineName</location>
<command>'svn co %s %s --username autotest --password hello1234 '
%(params[3][machineName]['team_script_path'],params[3][machineName]['team_to_dir'])</command>
<workdir>'%s' %params[3][machineName]['to_dir'] </workdir>
<returnstdout/>
</process>
May be the svn need some interactive actions with users, it will always
hang without no response.
Is there a timeout option for config the SVN operation or for STAX Process ?
if timeout, the STAX will execute the next?
2009/7/28 Sharon Lucas <luc...@us.ibm.com>
>
> No, we don't know of any issues with SP2 for Vista.
>
> Per the following note in the STAF User's Guide, try specifying the
> SAMECONSOLE option on your PROCESS START requset to see if that makes a
> difference.
>
> 1. On Windows systems, if you are redirecting stdin/out/err and are
> not using SAMECONSOLE, it is recommended that you redirect all three
> input/output streams. If one or two streams are redirected, but not all
> three, the non-redirected streams will not be available to the application.
> For example, if stdout and stderr are redirected, but not stdin, then the
> application will receive errors if it tries to read from standard input. As
> another example, if stdin and stdout are redirected, but not stderr, then
> you will not see any of the standard error output displayed in the console
> window. This problem only occurs when using NEWCONSOLE, which is the
> default. You may freely redirect any combination of stdin, stdout, and
> stderr when using SAMECONSOLE. This problem is due to a known limitation in
> the Windows API.
>
> Is STAFProc being run as an Administrator on this Windows Vista machine?
>
> Can you run any other command via a STAF PROCESS START request via on this
> Windows machine, such as notepad ?
>
> --------------------------------------------------------------
> Sharon Lucas
> IBM Austin, luc...@us.ibm.com
> (512) 286-7313 or Tieline 363-7313
>
>
>
> *Daria Holden <dariahol...@gmail.com>*
>
> 07/27/2009 03:23 PM
> To
> staf-users@lists.sourceforge.net
> cc
> Subject
> [staf-users] subversion checkout
>
>
>
>
> I have one machine where the command:
>
> d:\>staf local process start shell command "svn checkout <my
> server>/trunk/Test d:/whargarbl" wait STDERRTOSTDOUT RETURNSTDOUT
>
> does a successful checkout, and another machine where the same command
> starts an svn and a STAF process, but both just hang, using 0 CPU time
> even after a few minutes.
>
> Same machine hardware(dual xeon), architecture(x64) and OS (vista
> business) except the one that works has SP1, and the one that doesn't
> has SP2. Both are running STAF 3.3.4. Both have all firewalls turned
> off. Both machines have trust level 5 set for themselves. I have
> administrator privileges on both machines.
>
> On the machine that isn't returning from the staf call, I can make the
> same call directly on the command line( i.e. svn checkout
> <myserver>/trunk/Test d:/fbxrd) and it will work just fine. So it's
> just when I wrap the command in a STAF process call that it isn't
> working.
>
> Do you know of any issues with SP2 for Vista? Could there be a
> configuration option I missed somewhere?
>
> Thanks,
> Daria
>
> On Mon, Jul 27, 2009 at 7:50 AM,
> <staf-users-requ...@lists.sourceforge.net> wrote:
> > Send staf-users mailing list submissions to
> > staf-users@lists.sourceforge.net
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > https://lists.sourceforge.net/lists/listinfo/staf-users
> > or, via email, send a message with subject or body 'help' to
> > staf-users-requ...@lists.sourceforge.net
> >
> > You can reach the person managing the list at
> > staf-users-ow...@lists.sourceforge.net
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of staf-users digest..."
> >
> >
> > Today's Topics:
> >
> > 1. Re: How to get all job and terminate them? (David Bender)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Mon, 27 Jul 2009 08:49:38 -0500
> > From: David Bender <bda...@us.ibm.com>
> > Subject: Re: [staf-users] How to get all job and terminate them?
> > To: Li Wiston <wiston.l...@gmail.com>
> > Cc: staf-users@lists.sourceforge.net, sha...@acmet.com
> > Message-ID:
> > <
> of7799431c.9beb68b4-on86257600.004b100d-86257600.004bf...@us.ibm.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > STAF provides APIs (for Java, Python, Perl, and Tcl) that allow you to
> > submit requests to STAF services. So, in your program you could submit a
> > STAX LIST JOBS request, then iterate through the results for each Job ID,
> > and then submit a STAX TERMINATE JOB xx request.
> >
> > Thanks,
> > David
> >
> > David Bender
> > STAF/STAX Development
> > IBM Software Group, WPLC
> >
> > 11501 Burnet Rd.
> > Bldg. 903-5B002
> > Austin, TX 78758-3400
> >
> > Phone (T/L): 1-512-286-5315 (363-5315)
> > ITN: 23635315
> > Email: bda...@us.ibm.com
> >
> >
> >
> >
> >
> >
> > Li Wiston <wiston.l...@gmail.com>
> > 07/27/2009 08:26 AM
> >
> > To
> > sha...@acmet.com
> > cc
> > staf-users@lists.sourceforge.net, David Bender/Austin/i...@ibmus
> > Subject
> > Re: [staf-users] How to get all job and terminate them?
> >
> >
> >
> >
> >
> >
> >
> >
> > Yes, I known his.
> >
> > whether i can get the job IDs and assign them to variable or not ? so
> that
> > terminate the job one by one in my program?
> >
> > or any other way can retrieve each of iDs?
> >
> > thanks.
> > -Wiston
> >
> >
> >
> > 2009/7/27 Shahid <sha...@acmet.com>
> >>> But, I want to terminate all jobs by program. so, I have to get the
> > lists for pending job ids by program or need to terminate all jobs
> >>> if STAF provides such a command?
> >
> > I think STAF does not provide any command for terminating all pending
> > jobs. But if you will re-start STAF framework, then all the pending jobs
> > will be terminated automatically.
> >
> > Without re-starting STAF framework, you can terminate all pending jobs
> > with the help of program by using following alog:
> >
> > 1. List all the pending jobs
> > 2. Extract pending job ID
> > 3. Terminate the job with the help of job ID [This should be done
> one
> > by one]
> >
> >
> > With Regards,
> > Mohammad Shahid Jamal
> >
> >
> >
> > From: Li Wiston [mailto:wiston.l...@gmail.com]
> > Sent: Sunday, July 26, 2009 6:44 AM
> >
> > To: sha...@acmet.com
> > Cc: David Bender; staf-users@lists.sourceforge.net
> > Subject: Re: [staf-users] How to get all job and terminate them?
> >
> > Thanks Shahid
> >
> > But, I want to terminate all jobs by program. so, I have to get the lists
> > for pending job ids by program or need to terminate all jobs
> > if STAF provides such a command?
> >
> >
> > 2009/7/24 Shahid <sha...@acmet.com>
> > You can get the pending jobs with the help of following command:
> >
> > STAF <MACHINE NAME> STAX LIST JOBS
> >
> > Above command will list all the pending job submitted to STAX execution
> > engine.
> >
> > You can terminate the pending STAX Job execution with the help of
> > following command:
> >
> > STAF <MACHINE NAME> STAX TERMINATE JOB <JOB ID>
> >
> >>> Which reason can result in the block jobs?
> >
> > Currently I don?t know the exact reason behind it.
> >
> > But before few months, we have also faced similar problem. The reason of
> > the problem was, using the DOS command in STAX Job, at the time of
> > executing the DOS command in STAX Job, Job gets hanged. Please check this
> > might be the case.
> >
> > With Regards,
> > Mohammad Shahid Jamal
> >
> >
> >
> >
> >
> > From: Li Wiston [mailto:wiston.l...@gmail.com]
> > Sent: Friday, July 24, 2009 11:50 AM
> > To: sha...@acmet.com
> > Cc: David Bender; staf-users@lists.sourceforge.net
> > Subject: Re: [staf-users] How to get all job and terminate them?
> >
> > Hi, all
> >
> >
> > For unknown issues, there are some blocked jobs for the STAX execution,
> my
> > question is How to get all job and terminate them? and which reason can
> > result in the block jobs?
> >
> >
> > can anyone give us some clue?
> >
> > thanks in advance.
> >
> >
> >
> >
> >
> > 2009/7/21 Shahid <sha...@acmet.com>
> >>> Can you clarify exactly what you mean by "profiling" STAX job
> > execution?
> >
> > Profiling of STAX Job means to gather following information about STAX
> Job
> > execution:
> >
> > 1. Memory / CPU usage by services / methods written in STAX Job
> > 2. Checking the memory leak during STAX Job execution
> > 3. Checking the dead lock condition during STAX Job execution
> > 4. Time taken by STAF services used in STAX Job and method written
> in
> > STAX Job for completing the request
> >
> >
> > Hope, now you got the purpose of profiling of STAX Job.
> >
> >>>The following Help forum thread has some more information:
> >>>
> >>>http://sourceforge.net/forum/message.php?msg_id=7421451
> >
> > Thanks for providing the link. I will check information present at:
> > http://sourceforge.net/forum/message.php?msg_id=7421451 and let you know
> > it status.
> >
> >
> > Thanks and Regards,
> > Mohammad Shahid Jamal
> >
> >
> >
> > From: David Bender [mailto:bda...@us.ibm.com]
> > Sent: Monday, July 20, 2009 7:22 PM
> > To: sha...@acmet.com
> > Cc: staf-users@lists.sourceforge.net
> > Subject: Re: [staf-users] How to profile STAX Job Execution?
> >
> >
> > Can you clarify exactly what you mean by "profiling" STAX job execution?
> > If you mean analyzing memory usage, performance, etc., there is no
> > software provided with STAF/STAX to do that. However, STAX is written in
> > Java, so you could use Java profiling tools to do the analysis.
> >
> > The following Help forum thread has some more information:
> >
> > http://sourceforge.net/forum/message.php?msg_id=7421451
> >
> > Thanks,
> > David
> >
> > David Bender
> > STAF/STAX Development
> > IBM Software Group, WPLC
> >
> > 11501 Burnet Rd.
> > Bldg. 903-5B002
> > Austin, TX 78758-3400
> >
> > Phone (T/L): 1-512-286-5315 (363-5315)
> > ITN: 23635315
> > Email: bda...@us.ibm.com
> >
> >
> >
> >
> >
> > "Shahid" <sha...@acmet.com>
> > 07/20/2009 12:42 AM
> >
> >
> > Please respond to
> > sha...@acmet.com
> >
> >
> >
> > To
> > <staf-users@lists.sourceforge.net>
> > cc
> >
> > Subject
> > [staf-users] How to profile STAX Job Execution?
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > How we can profile the STAX Job execution? Is there any software
> available
> > for profiling STAX Job execution?
> >
> > With Regards,
> > Mohammad Shahid Jamal
> >
> >
> >
> ------------------------------------------------------------------------------
> > 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
> >
> >
> >
> ------------------------------------------------------------------------------
> > _______________________________________________
> > staf-users mailing list
> > staf-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/staf-users
> >
> >
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> >
> > ------------------------------
> >
> >
> ------------------------------------------------------------------------------
> >
> >
> > ------------------------------
> >
> > _______________________________________________
> > staf-users mailing list
> > staf-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/staf-users
> >
> >
> > End of staf-users Digest, Vol 38, Issue 44
> > ******************************************
> >
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> staf-users mailing list
> staf-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/staf-users
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> staf-users mailing list
> staf-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/staf-users
>
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users