tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "CPC Livelink Admin" <cpclv...@fitzpatrick.cc>
Subject RE: Number of Instances
Date Thu, 16 Nov 2000 21:32:42 GMT

Here's my humble attempt to explain.  The single thread model says to the
servlet container that your servlet should only be run on one thread only.
Multithreading in the server is then implemented by creating multiple of
your single thread model servlets, one for each thread that is required to
respond to requests.

When are your inits being called?  Is it possible that your servlet is being
garbage collected and then respawned?

-----Original Message-----
From: dynacomconsulting@yahoo.com [mailto:dynacomconsulting@yahoo.com]
Sent: Thursday, November 16, 2000 02:52 PM
To: tomcat-user@jakarta.apache.org
Subject: Re: Number of Instances


Hi,
I see the only possibility  with servlet programming
i.e implementing the single thread model.Can U please
elobarate on the ptoblem with single thread model.
Ravi
--- Lauber Christof <LAUBC@hta-bi.bfh.ch> wrote:
> How must I configure the jakarta-tomcat 3.1 that
> just one Instance per
> servlet is allowed? Which config file do I have to
> edit(server.xml,
> web.xml, ? ) ?
>   The servlet does not implement the Single Thread
> Model,regardless it
> happens that the Servlet's init Methode is called
> twice!
>


__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/


Mime
View raw message