PQ73130: TSX:REPEAT TAG SHOULD NOT THROW EXCEPTION

 A fix is available

5.0.2: WebSphere Application Server Version 5.0 Fix Pack 2 (Version 5.0.2)



APAR status
Closed as program error.

Error description
Tsx:repeat tag not working properly
The loop processing using <tsx:repeat>tag of IBM extensions to
JSP. Syntax can not be finished nomally
JSP TSX TAG LIBRARY REPEAT WASENG
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server users of a      *
*                 repeat tag.                                  *
****************************************************************
* PROBLEM DESCRIPTION: When a bean in repeat tag throws an     *
*                      exception, the page finished partially  *
*                      right at the point of the exception.    *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
The repeat tag should not throw any exception.  In case of
ArrayOutOfBoundaryException or NoSuchElementEception being
thrown, the repeat tag should terminate normally.  Any other
exception should only discard the repeat tag as a whole.
Problem conclusion
JSP compiler classes that generate repeat tag have been
modified. ArrayOutOfBoundaryException and NoSuchElementException
are used to terminate looping of the repeat tag.  All other
exceptions will clear all output of the repeat tag and log
the exception information in the log.
Temporary fix
Catch ArrayOutOfBoundaryException and NoSuchElementException
to terminate loop of a repeat tag.

Catch all other exceptions and clear output buffer of
the repeat tag, exception trace is logged.
Comments
APAR information
APAR number PQ73130
Reported component name WAS BASE 5.0
Reported component ID 5630A3600
Reported release 00W
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2003-04-11
Closed date 2003-05-12
Last modified date 2003-05-12

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
JSP          

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 > General
Operating system(s):
Software version: 00W
Software edition:
Reference #: PQ73130
IBM Group: Software Group
Modified date: May 12, 2003