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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 16, 2000 02:52 PM
To: [EMAIL PROTECTED]
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 <[EMAIL PROTECTED]> 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/

Reply via email to