----- Original Message -----
From: "Remy Maucherat" <[EMAIL PROTECTED]>
To: "Tomcat Developers List" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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

Reply via email to