>Yes, if the tasks within the process are still running when the timer
expires (at the duration) then they will be terminated.  So, are you still
seeing a problem? 



I will reply it later as still I am facing this problem.


In a STAX job you can run any number of tasks in parallel.  For example, you
can use a <parallel> element to execute other tasks in parallel with your
jar file <process>.

 

Thanks for it. It will be very use full in our case.

 

How many maximum numbers of processes can be executed in parallel? Is there
any limitation?

 

Thanks in Advance

 

Mohammad Shahid Jamal 

 

  _____  

From: David Bender [mailto:bda...@us.ibm.com] 
Sent: Wednesday, August 05, 2009 5:13 PM
To: sha...@acmet.com
Cc: staf-users@lists.sourceforge.net
Subject: Re: [staf-users] STAX Job gets hanged

 


Yes, if the tasks within the process are still running when the timer
expires (at the duration) then they will be terminated.  So, are you still
seeing a problem? 

In a STAX job you can run any number of tasks in parallel.  For example, you
can use a <parallel> element to execute other tasks in parallel with your
jar file <process>.
 
Thanks, 
David 

  _____  


 
<http://w3.ibm.com/bluepages/simpleSearch.wss?searchBy=Name&searchFor=David+
Bender> 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:  <mailto:bda...@us.ibm.com> bda...@us.ibm.com 
 

 

  _____  






"Shahid" <sha...@acmet.com> 

08/05/2009 01:22 AM 


Please respond to
sha...@acmet.com


To

David Bender/Austin/i...@ibmus 


cc

staf-users@lists.sourceforge.net 


Subject

Re: [staf-users] STAX Job gets hanged

 


 

 




>I'm not sure why the STAX job would hang, but note that you are specifying
the duration for the <timer> element as "500", which is 500 milliseconds, or
1/2 second.  I assume that your java process doesn't complete within that
short amount of time, so can you try increasing it?  Maybe you meant to use
"5m" (5 minutes) instead of  "500". 
  
If the java process does not complete within ½ second, then I think the
process will be terminated. 
  
Please check my second query: 
  
<Snip> 
  
I have started execution of a jar file with above process command. Is it
possible to proceed with the next code in the STAXJob without completing the
execution of jar file? 
  
<End> 
  

 

  _____  


From: David Bender [mailto:bda...@us.ibm.com] 
Sent: Tuesday, August 04, 2009 7:44 PM
To: sha...@acmet.com
Cc: staf-users@lists.sourceforge.net
Subject: Re: [staf-users] STAX Job gets hanged 
  

I'm not sure why the STAX job would hang, but note that you are specifying
the duration for the <timer> element as "500", which is 500 milliseconds, or
1/2 second.  I assume that your java process doesn't complete within that
short amount of time, so can you try increasing it?  Maybe you meant to use
"5m" (5 minutes) instead of  "500". 

Thanks, 
David 

 

  _____  


 
<http://w3.ibm.com/bluepages/simpleSearch.wss?searchBy=Name&searchFor=David+
Bender> 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:  <mailto:bda...@us.ibm.com> bda...@us.ibm.com 


  

 

  _____  

 


"Shahid" <sha...@acmet.com> 

08/04/2009 06:45 AM 

 


Please respond to
sha...@acmet.com

 


To

<staf-users@lists.sourceforge.net> 


cc

  


Subject

[staf-users] STAX Job gets hanged


  

 


  

 






While executing the STAX Job, it gets hanged. Snap for the job log has been
attached with this mail.

Reference: STAXJobError.JPG.

Please check it.

I have used following process command in STAXJob

<Snip>

<timer duration="500">

<process>

<location>MachineName</location>

<command mode ="'shell'">'java'</command>

<parms>' -jar %s "%s" "%s" "%s" %s "%s"' %(ComparisonTool, BaseFilePath,
CurrentFilePath, DiffFilePath, NumberOfLinesToBeIgnoredWhileComparing,
StringForWhichLinesToBeIgnor) </pams>

<workdir>LocalWorkingDirectory</workdir>

</process>

</timer>

<End>


In case of removing the time command, job is executed successfully. After
removing the timer command, the above code will be: 

<Snip>

<process>

<location>MachineName</location>

<command mode ="'shell'">'java'</command>

<parms>' -jar %s "%s" "%s" "%s" %s "%s"' %(ComparisonTool, BaseFilePath,
CurrentFilePath, DiffFilePath, NumberOfLinesToBeIgnoredWhileComparing,
StringForWhichLinesToBeIgnor) </pams>

<workdir>LocalWorkingDirectory</workdir>

</process>

<End>

Why STAXJob gets hanged?

I have started execution of a jar file with above process command. Is it
possible to proceed with the next code in the STAXJob without completing the
execution of jar file?


-Thanks in advance
Mohammad Shahid Jamal
[attachment "STAXJobError.JPG" deleted by David Bender/Austin/IBM]
----------------------------------------------------------------------------
--
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---------------------
---------------------------------------------------------
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

------------------------------------------------------------------------------
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

Reply via email to