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 wasdoc0
Comments
APAR information
APAR number PQ61842
Reported component name WEBSPHERE AE SO
Reported component ID 5630A2202
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2002-06-03
Closed date 2002-06-17
Last modified date 2002-06-17

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
ENGINE          

Fix information
Fixed component name WEBSPHERE AE SO
Fixed component ID 5630A2202

Applicable component levels
R400 PSY    UP


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