]'
Subject: RE: Double loading when loading servlet on startup
I tried this scenario with Tomcat 3.2.1 and I only get one call
to init(). Are you on Windows? If your ts directory is actually
named Ts, I think you would get two context's. What does your
tomcat log show about contexts being
Hi
problem is that when I mark servlets as load-on-startup they are loaded
twice in jvm.
I want this servlet to serve as initializer i.e. to initialize some other
classes in its init method.
The worst is that that classes are double loaded too. I.e. I want to init
class which is Thread subclass
What version of tomcat?
Alexander Cherinko wrote:
Hi
problem is that when I mark servlets as load-on-startup they are loaded
twice in jvm.
I want this servlet to serve as initializer i.e. to initialize some other
classes in its init method.
The worst is that that classes are double loaded
Got the same problem :(( (on v3.2.3 - NT)
-Message d'origine-
De : Alexander Cherinko [mailto:[EMAIL PROTECTED]]
Envoye : mercredi 8 aout 2001 16:38
A : [EMAIL PROTECTED]
Objet : Double loading when loading servlet on startup
Hi
problem is that when I mark servlets as load
, August 08, 2001 12:32 PM
To: [EMAIL PROTECTED]
Subject: RE: Double loading when loading servlet on startup
Got the same problem :(( (on v3.2.3 - NT)
-Message d'origine-
De : Alexander Cherinko [mailto:[EMAIL PROTECTED]]
Envoye : mercredi 8 aout 2001 16:38
A : [EMAIL PROTECTED
: Re: Double loading when loading servlet on startup
What version of tomcat?
Alexander Cherinko wrote:
Hi
problem is that when I mark servlets as load-on-startup they are loaded
twice in jvm.
I want this servlet to serve as initializer i.e. to initialize
some other
classes in its
as load-on-startup. For ordinary
servlet there is nothing like this.
--Che
-Original Message-
From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 7:58 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Double loading when loading servlet on startup
In the past
Cherinko [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 1:51 PM
To: [EMAIL PROTECTED]
Subject: RE: Double loading when loading servlet on startup
The case:
Nt/Linux v3.2.1,2,3.
There is one context:
Context path=/ts
docBase=webapps/ts