Re: Hi, Using Tomcat for the first time:

2001-02-22 Thread Steve Ruby


I believe that the threads setting refers only to the number
of threads serving requests.. There are various other threads already
running from the Tomcat core that you don't have control over..


Andrew Stewart wrote:
> 
> Thanks for the reply:
> 
> However I tried adding it into the server.xml file, in the
> Ajp13Connector area (as I'm running it out-of-process), and it still
> produces 10 threads on startup when i had specified 2, here is a
> snippet:
> 
> 
>  className="org.apache.tomcat.service.PoolTcpConnector">
>  
> value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/>
> 
> 
> 
> 
> 
> 
> 
>  className="org.apache.tomcat.service.PoolTcpConnector">
>  
> value="org.apache.tomcat.service.connector.Ajp13ConnectionHandler"/>
> 
> 
> 
> 
> 
> 
> ##
> #  Andrew Stewart ([EMAIL PROTECTED])
> #  MEGAStation.com
> #  Web / Systems Developer
> ##
> 
> -Original Message-----
> From: Geoff Lane [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 13, 2001 5:22 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Hi, Using Tomcat for the first time:
> 
> Yes, there are max_threads, min_spare_threads and max_spare_threads.
> See:
> http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/uguide/tomcat_ug
> .html
> under 'Configuring thread pools'
> 
> Example:
> 
>  value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
> 
> 
> 
> 
> 
> Andrew Stewart wrote:
> >
> > and I have to say I am impressed so far
> >
> > I've tried three other Java VM's and have had very dissapointing
> > experiences with them (Caucho's Resin, NA's ServletExec, and Allaire's
> > JRun).
> >
> > Anyway, one of the few questions I'd like to ask is if there's anyway
> to
> > control the number of threads (or workers) that come up when Tomcat is
> > run.
> >
> > I tried looking for a setting something like MinServers / MaxServers
> > akin to Apache but no dice, any help would be appreciated.
> >
> > Thanks in advance.
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
> 
> --
> 
> Geoff Lane <[EMAIL PROTECTED]>
> (650) 969-5000 x104
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Hi, Using Tomcat for the first time:

2001-02-14 Thread Andrew Stewart

Thanks for the reply:

However I tried adding it into the server.xml file, in the
Ajp13Connector area (as I'm running it out-of-process), and it still
produces 10 threads on startup when i had specified 2, here is a
snippet:










 









##
#  Andrew Stewart ([EMAIL PROTECTED])
#  MEGAStation.com
#  Web / Systems Developer
##

-Original Message-
From: Geoff Lane [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13, 2001 5:22 PM
To: [EMAIL PROTECTED]
Subject: Re: Hi, Using Tomcat for the first time:


Yes, there are max_threads, min_spare_threads and max_spare_threads.
See:
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/uguide/tomcat_ug
.html
under 'Configuring thread pools'

Example:








Andrew Stewart wrote:
> 
> and I have to say I am impressed so far
> 
> I've tried three other Java VM's and have had very dissapointing
> experiences with them (Caucho's Resin, NA's ServletExec, and Allaire's
> JRun).
> 
> Anyway, one of the few questions I'd like to ask is if there's anyway
to
> control the number of threads (or workers) that come up when Tomcat is
> run.
> 
> I tried looking for a setting something like MinServers / MaxServers
> akin to Apache but no dice, any help would be appreciated.
> 
> Thanks in advance.
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

-- 

Geoff Lane <[EMAIL PROTECTED]>
(650) 969-5000 x104

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Hi, Using Tomcat for the first time:

2001-02-13 Thread Vijayanand Sukumar

You can alter the server.xml portion under 


to look like something like this

   








this might help

cheers
vijay

-Original Message-
From: Andrew Stewart [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13, 2001 4:42 PM
To: '[EMAIL PROTECTED]'
Subject: Hi, Using Tomcat for the first time:


and I have to say I am impressed so far

I've tried three other Java VM's and have had very dissapointing
experiences with them (Caucho's Resin, NA's ServletExec, and Allaire's
JRun).

Anyway, one of the few questions I'd like to ask is if there's anyway to
control the number of threads (or workers) that come up when Tomcat is
run.

I tried looking for a setting something like MinServers / MaxServers
akin to Apache but no dice, any help would be appreciated.

Thanks in advance.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Hi, Using Tomcat for the first time:

2001-02-13 Thread Geoff Lane

Yes, there are max_threads, min_spare_threads and max_spare_threads.
See:
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/uguide/tomcat_ug.html
under 'Configuring thread pools'

Example:








Andrew Stewart wrote:
> 
> and I have to say I am impressed so far
> 
> I've tried three other Java VM's and have had very dissapointing
> experiences with them (Caucho's Resin, NA's ServletExec, and Allaire's
> JRun).
> 
> Anyway, one of the few questions I'd like to ask is if there's anyway to
> control the number of threads (or workers) that come up when Tomcat is
> run.
> 
> I tried looking for a setting something like MinServers / MaxServers
> akin to Apache but no dice, any help would be appreciated.
> 
> Thanks in advance.
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

-- 

Geoff Lane <[EMAIL PROTECTED]>
(650) 969-5000 x104

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Hi, Using Tomcat for the first time:

2001-02-13 Thread Andrew Stewart

and I have to say I am impressed so far

I've tried three other Java VM's and have had very dissapointing
experiences with them (Caucho's Resin, NA's ServletExec, and Allaire's
JRun).

Anyway, one of the few questions I'd like to ask is if there's anyway to
control the number of threads (or workers) that come up when Tomcat is
run.

I tried looking for a setting something like MinServers / MaxServers
akin to Apache but no dice, any help would be appreciated.

Thanks in advance.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]