tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: SingleThreadModel and multiple servlet instance
Date Wed, 19 Mar 2003 18:30:51 GMT

----- Original Message -----
From: "Remy Maucherat" <remm@apache.org>
To: "Tomcat Developers List" <tomcat-dev@jakarta.apache.org>
Sent: Wednesday, March 19, 2003 5:43 AM
Subject: Re: SingleThreadModel and multiple servlet instance


> Razvan Dani wrote:
> > Hi
> >
> > I recently noticed that some of my servlets have a strange behaviour
> > when concurential requests are made to them (mainly becase there are
> > some variables defined in those servlets).
> >
> > I also recently found that by using "implements SingleThreadModel" i
> > avoid this problem (pretty much by synchronizing the doGet and doPost).
> > But this raises to me the problem that i won't be able to serve more
> > request from that servlet at (almost) the same time. The second request
> > will wait for the first one to completelly finish ...
> >
> > Due to this, i'd like to combine "implements SingleThreadModel" with the
> > ability to somehow have multiple servlet instances, instead of just one.
> >
> > By surfing the Interned i was driven to the conclusion that some servlet
> > engines have some configurations available in order to specify the max
> > number of instances for a single servlet class.
> >
> > My question is if there is any version of Tomcat that have such a
> > feature available or not. If not, a simple answer saying so would be
> > good enough for me. If yes, i would apreciate a lot any guidelines that
> > you could have to drive me to the right direction.
>
> All Tomcat 4.1.x releases have that.
>

As does Tomcat 3.3.1.

> Remy
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message