Re: Init() being called 3 times

2000-12-29 Thread Craig R. McClanahan
Marc Saegesser wrote: In Tomcat 3.2.x, specifying more than one name for a servlet in web.xml causes a separate instance to be created for each name and each instances init() method will et invoked. Essentially creating a new servlet for each name as opposed to multiple names for a single

RE: Init() being called 3 times

2000-12-29 Thread Marc Saegesser
Sorry about that. I was still thinking Servlet 2.1 API spec. The Servlet 2.2 spec is much tighter. -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Friday, December 29, 2000 2:35 PM To: [EMAIL PROTECTED] Subject: Re: Init() being called 3 times Marc

RE: Init() being called 3 times

2000-12-28 Thread Marc Saegesser
1) Set Tomcat's debug level to something big (say 20). 2) Add a System.out.println() call to the begin and end or your init() method. Include a timestamp. 3) Add a call to Thread.currentThread().dumpStack() to the start of your init() method. 4) Post the output here. It is extremely

RE: Init() being called 3 times

2000-12-28 Thread David Fusari
Message- From: Marc Saegesser [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 28, 2000 1:46 PM To: [EMAIL PROTECTED] Subject: RE: Init() being called 3 times 1) Set Tomcat's debug level to something big (say 20). 2) Add a System.out.println() call to the begin and end or your init

Re: Init() being called 3 times

2000-12-28 Thread Filip Hanik
Message - From: "Marc Saegesser" [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, December 28, 2000 12:49 PM Subject: RE: Init() being called 3 times In Tomcat 3.2.x, specifying more than one name for a servlet in web.xml causes a separate instance to be create