this was discussed recently (last week or a couple of weeks ago). Since you
are using single thread model, web sphere is creating a pool of 5 servlets
to handle requests, hence the 5 init calls--one for each instance.

--jim

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Neil
Harrison
Sent: Wednesday, July 12, 2000 1:01 PM
To: [EMAIL PROTECTED]
Subject: Initialising Servlets - help please


Apologies for re-posting this but i am getting pretty desperate!
Any suggestions/solutions would be much appreciated. Cheers, Neil

I have a problem with my servlets which seemingly are calling the init
method 5 times as described below. I'm using IBMs Websphere V3.021. For the
time being my conn pool settings are: min(2), max(5). I'm running on
Solaris 7, with WAS 3.0.2.1, Apache 1.3.9 and Oracle 7.


The stdout log gives the following:

Instantiate: searches/PopulateMaterialGroup
12913.231 1ef2af56 ServletInstan A Loading.servlet:."PopMatGrp" 12913.239
1ef2af56 WebGroup      A
[Servlet.LOG]:."searches.PopulateMaterialGroup: init"
12913.604 1ef2af56 WebGroup      A
[Servlet.LOG]:."searches.PopulateMaterialGroup: init"
12913.847 1ef2af56 WebGroup      A
[Servlet.LOG]:."searches.PopulateMaterialGroup: init"
12914.378 1ef2af56 WebGroup      A
[Servlet.LOG]:."searches.PopulateMaterialGroup: init"
12914.650 1ef2af56 WebGroup      A
[Servlet.LOG]:."com.ibm.servlet.engine.webapp.SingleThreadModelServlet:
init"
12914.651 1ef2af56 ServletInstan A
Servlet.available.for.service:."PopMatGrp"
12914.652 1ef2af56 WebGroup      A
[Servlet.LOG]:."searches.PopulateMaterialGroup: init

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to