tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "CPC Livelink Admin" <>
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: []
Sent: Thursday, November 16, 2000 02:52 PM
Subject: Re: Number of Instances

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.
--- Lauber Christof <> 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!

View raw message