PQ92289: JAVA.LANG.ARRAYINDEXOUTOFBOUNDSEXCEPTION

 A fix is available

PQ92289; 5.0.2.7: WorkArea Service causes java.lang.ArrayIndexOutOfBoundsExcepti



APAR status
Closed as program error.

Error description
The WorkArea Service causes a
java.lang.ArrayIndexOutOfBoundsException whenever an application
calls many J2EE components in a row (e.g. servlet chaining)
Local fix Problem summary
****************************************************************
* USERS AFFECTED: Users of the Work Area service in            *
*                 WebSphere versions 5.0, 5.0.1, 5.0.2.*.      *
****************************************************************
* PROBLEM DESCRIPTION: The WorkArea Service causes a           *
*                      java.lang.                              *
*                      ArrayIndexOutOfBoundsException          *
*                      whenever an application calls many      *
*                      J2EE components in a row (e.g.          *
*                      servlet chaining).                      *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
The WorkArea Service throws a java.lang.
ArrayIndexOutOfBoundsException whenever an application calls
many J2EE components in a row (e.g. servlet chaining).    For
example, if an application calls an EJB which in turn calls
another EJB which in turn calls another EJB, and on and on, at
a certain point the array which the WorkArea services uses to
store this call path information may reach the array bounds.
Normally WorkArea would increment the array bounds once the
maximum bound is reached.  However, if the depth of the call
chain ends at exactly the array bounds, a problem in the
WorkArea code doesn't allow for the array bounds checking,
thus causing a java.lang.ArrayIndexOutOfBoundsException as the
call chain returns.  Although this scenario is tough to reach
it isn't entirely impossible either.
Problem conclusion
The code causing the java.lang.ArrayIndexOutOfBoundsException
be thrown in the Work Area service when it chains calls to j2ee
components has been fixed.
Temporary fix Comments
APAR information
APAR number PQ92289
Reported component name WAS ENTERPRISE
Reported component ID 5630A3700
Reported release 00S
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2004-08-02
Closed date 2004-08-06
Last modified date 2004-11-11

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:
PQ97083

Modules/Macros

Publications Referenced

Fix information

Applicable component levels
R003 PSY    UP
R00A PSY    UP
R00H PSY    UP
R00I PSY    UP
R00S PSY    UP
R00W PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Enterprise Edition (EE)
Operating system(s):
Software version: 00S
Software edition:
Reference #: PQ92289
IBM Group: Software Group
Modified date: Nov 11, 2004