APAR status |
Closed as program error.
| Error description
JSPs throw an IllegalStateException if the ServletResponse
OutputStream has already been obtained by a prior resource.
The method JspWriterImpl.initOut needs to be changed to work
with the stream that's already available.
Defect 104670 Local fixProblem summary
JSPs throw an IllegalStateException if the ServletResponse Outpu
been obtained by a prior resource. The method JspWriterImpl.ini
changed to work with the stream that's already available.
current code:
protected void initOut() throws IOException {
if (out == null)
out = response.getWriter();
}
new code:current code:protected void initOut() throws IOException {if (out == null)out = response.getWriter();}
protected void initOut() throws IOException {
if (out == null) {
try {
out = response.getWriter();
} catch(IllegalStateException
ignoredException) {
out = new
OutputStreamWriter(response.
getOutputStream(),
response.getCharacterEncoding())
;
}
}
} new code:protected void initOut() throws IOException {if (out == null) {try {out = response.getWriter();} catch(IllegalStateExceptionignoredException) {out = newOutputStreamWriter(response.getOutputStream(),response.getCharacterEncoding());}}} Problem conclusionTemporary fixComments
APAR information | APAR number | PQ50489 | Reported component name | WAS ADVANCED AI | Reported component ID | 5648C8400 | Reported release | 350 | Status | CLOSED PER | PE | NoPE | HIPER | NoHIPER | Submitted date | 2001-07-11 | Closed date | 2001-07-18 | Last modified date | 2001-07-18 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:APAR is sysrouted FROM one or more of the following:
Modules/Macros APAR is sysrouted TO one or more of the following:Modules/Macros
|
Fix information |
Fixed component name | WAS ADVANCED AI | Fixed component ID | 5648C8400 |
Applicable component levels | R350 PSY | UP |
|
Product categories: Software, Application Servers, Distributed Application & Web Servers, WebSphere Application Server, General Software version: 350 Reference #: PQ50489 IBM Group: Software Group Modified date: 2001-07-18
(C) Copyright IBM Corporation 2000, 2004. All Rights Reserved.
|