tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gavin, Rick" <RGa...@vidyah.com>
Subject RE: Two instances of servlet gets created
Date Thu, 02 Jan 2003 14:07:33 GMT
I have also been seeing this, I think since I have upgraded 
from 4.1.12.  I have a startup servlet that creates a 
singleton object i use for system properties, and it calls
the createInstance of the singleton twice at startup now.

Rick

-----Original Message-----
From: Mohit Garg [mailto:mgarg@ggn.aithent.com]
Sent: Thursday, January 02, 2003 3:52 AM
To: Tomcat Users List
Subject: Two instances of servlet gets created


I have startup servlet for which one instance is created as soon as my
tomcat starts. But on the first request to the servlet there is another
instance created. i.e Another time init() is called for the servlet.


--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message