PQ61842: SERVLET INSTANCE CREATION AND DESTROY IN A SINGLETHREADMODEL. | |||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||
APAR status Closed as program error. Error description In a SingleThreadModelthe servlet instance creation and destruction algorithm needs to be round robin.Local fix Problem summary **************************************************************** * USERS AFFECTED: WebSphere Application Server 4.0 users of * * SingleThreadedModel in their servlets. * **************************************************************** * PROBLEM DESCRIPTION: The creation and destruction of the * * servlets are not efficient enough * * causing overhead to the application * * server when the servlets are * * implemented as singlethreaded model. * **************************************************************** * RECOMMENDATION: * **************************************************************** When the servlet implements singlethreadmodel the creation and destruction of the servlet instances are not efficient enough causing overhead to the server. This results in creation and destruction of servlets too often.Problem conclusion The initialPoolSize and the maxIdleTime for the SingleThreadModelServlets is configurable and the requests are dispatched to the servlet instances in a roundrobin way in the pool. By adding "singlethreadmodel.initialpoolsize" and "singlethreadmodel.maxidletime" parameter in the contextparameters of a webapp the poolsize and maxidle time can be configured for that webapp. If not specified, a default will be used. The initialpoolsize will be 5 and maxidletime will be 60000 milliseconds. Note maxidletime should be always be specified in milliseconds.Temporary fix apar is on wasdoc0Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
|
Document Information |
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ61842
IBM Group: Software Group
Modified date: Jun 17, 2002
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.