java.lang.Runtime.exec(...)

> -----Original Message-----
> From: Vinicio Llumiquinga [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 30, 2001 7:22 PM
> To: [EMAIL PROTECTED]
> Subject: help me!
> 
> 
> Venkatesh Sangam wrote:
> 
> > Hi,
> > I am using Tomcat with Apache ..
> > I have a java Program which generates 10 requests per second
> > this Java Program connects to the Servlet on the Tomcat server
> > the dealy in the execution of the Servlet is 1000ms
> >
> > I have set the max No of requests the Apache server can 
> handle at once is
> > 5.(for testing)
> >
> > If  I execute my Java program ..it should so happen that 
> ..before the first
> > ten requests are served the next 10 requests are generated 
> and should be
> > waiting to be executed.
> >
> > but it so happens that.. before the first 10 requests get 
> executed, the next
> > 10 start executing(instead of being qued up) ..
> >
> > can anyone pleas tell me why is this happening
> > is the Queue Last in First Out
> > Please help
> >
> > thanks
> > Venkatesh
> >
> > 
> ______________________________________________________________
> ___________
> > Get Your Private, Free E-mail from MSN Hotmail at 
http://www.hotmail.com.

I need to run a script the linux shell from a java bean.
Which is the class that run a program of operative system

Reply via email to