PQ97053; 4.0.7: Request parameter is not reset
properly when exception is thrown
Downloadable files
Abstract
The java.lang.NumberFormatException was thrown at
getContentLength in the previous request and the _parameters would not be
initialized.
Download Description
PQ97053 resolves the following problem:
PROBLEM SUMMARY:
USERS AFFECTED:
WebSphere® Application Server users with applications sending multiple
requests with some requests causing exceptions in the webContainer during
the completion handling of such requests.
PROBLEM DESCRIPTION:
In a multiple request scenario, when the first request is completed, the
internal request parameters are supposed to reset to their initial values
for the next request. However, if an exception occurred when completing
the first request, these parameters are not reset. As a result, the old
values of these internal request parameters will be used for the second
request.
RECOMMENDATION:
The servlet request code should reset all internal parameters even if an
exception is encountered.
PROBLEM CONCLUSION:
Modify the servlet request code to reset all internal parameters after the
exception is handled.
The fix for this APAR is available via interim fix PQ97053