Servlet Init Done Twice in TOmcat 4.1
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Prashant_P
Posted On:   Tuesday, December 7, 2004 11:11 PM

hi,


Tomcat : 4.1

Windows : XP


i've an Init method in my servlet that i call on Tomcat load. this init is called twice.

i tried using a static variable to prevent the code from executing again but it fails.

my init method initailises my Singleton objects....


i've only i host, so the problem of multiple host launching th e application again doesn't arise...


why does the init get called twice?

hoping for some replies. this prob has irritated me for more than a day now..

Re: Servlet Init Done Twice in TOmcat 4.1

Posted By:   tech_tech  
Posted On:   Sunday, December 12, 2004 10:23 PM

do u have load on startup param in ur web.xml
About | Sitemap | Contact