Re: Two instances of servlet gets created

2003-01-03 Thread Mohit Garg
02, 2003 7:37 PM Subject: RE: Two instances of servlet gets created 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

RE: Two instances of servlet gets created

2003-01-03 Thread Cox, Charlie
-Original Message- From: Mohit Garg [mailto:[EMAIL PROTECTED]] Sent: Friday, January 03, 2003 5:42 AM To: Tomcat Users List Subject: Re: Two instances of servlet gets created In my case if the request comes from within the same context, it works fine and does not creates two

Re: Two instances of servlet gets created

2003-01-03 Thread Jacob Kjome
List [EMAIL PROTECTED] Sent: Thursday, January 02, 2003 7:37 PM Subject: RE: Two instances of servlet gets created 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

RE: Two instances of servlet gets created

2003-01-03 Thread Jacob Kjome
Message- From: Mohit Garg [mailto:[EMAIL PROTECTED]] Sent: Friday, January 03, 2003 5:42 AM To: Tomcat Users List Subject: Re: Two instances of servlet gets created In my case if the request comes from within the same context, it works fine and does not creates two instances

Two instances of servlet gets created

2003-01-02 Thread Mohit Garg
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:[EMAIL PROTECTED] For additional commands,

Re: Two instances of servlet gets created

2003-01-02 Thread Andreas Probst
Hi, do you call your servlet by the pattern defined in web.xml or by the full path with invoker servlet? I once read, that using the invoker servlet means creating a new instance of your servlet. Maybe that's what causes the second init(). Hope this helps Andreas On 2 Jan 2003 at 17:22,

RE: Two instances of servlet gets created

2003-01-02 Thread Gavin, Rick
PROTECTED]] 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