There should be only one servlet instance per VM according to
Servlet spec 2.2 chapter 3.2.
Unless of course the servlet is implementing "SingleThreadModel".
/korre
-Original Message-
From: Tim Endres
To: Orion-Interest
Sent: 2001-02-01 02:23
Subject: Re: Servlet loa
I believe that is perfectly normal behavior. Init() is called whenever a servlet
instance is created, and they may be created at any time and in any number (unless
you specify a limit in your servlet engine, or you use the single threaded model
for your servlet, which I do not recommend for
: Thursday, February 01, 2001 2:23 AM
To: Orion-Interest
Subject: Re: Servlet loading twice if init() not finished?
I believe that is perfectly normal behavior. Init() is called
whenever a servlet
instance is created, and they may be created at any time and
in any number (unless
you specify a limit
First of all your orion startup servlet only needs the service method.
And then it should be load-on-startup x /load-on-startup ( see web.xml)
where x is an appropiate nr.
This will force orion to load it before it is fully inited.
regards
Johan
( my servlet that loads up data from