APAR status |
Closed as program error.
| Error description
Brief Description: Getting error 500 at random times when
refreshing the browser. It is throwing an execption Cannot
set header. Response already committed.
They have it down to when the header is set
after the response has been committed it throws the exception.
.
Keywords: WebSphere 4.0 HTTP Response status code 500
Illegal State Exception Already committed browser refresh Local fixProblem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server developers *
* using setHeader, addHeader or setStatus *
* after the response has been committed. *
****************************************************************
* PROBLEM DESCRIPTION: IllegalStateException "Cannot set *
* Header. Response aleady committed" when *
* attempting to modify headers after *
* the response has been committed. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
When attempting to modify headers after the response
has been committed, WebSphere is throwing an
IllegalStateException "Cannot set header. Response
already committed.". Per the Servlet 2.2 Specification, any
attempt to modify headers after a commit should not
throw an exception but should instead ignore the
setting of that header. Problem conclusion
Changed the throwing of an IllegalStateException to a
warning message to be displayed if servlet engine
trace is enabled. Temporary fixComments
APAR information | APAR number | PQ58005 | Reported component name | WAS STANDARD SU | Reported component ID | 5648C8302 | Reported release | 350 | Status | CLOSED PER | PE | NoPE | HIPER | NoHIPER | Submitted date | 2002-02-19 | Closed date | 2002-02-19 | Last modified date | 2002-02-19 |
APAR is sysrouted FROM one or more of the following: PQ57613
APAR is sysrouted TO one or more of the following:APAR is sysrouted FROM one or more of the following:PQ57613
Modules/Macros APAR is sysrouted TO one or more of the following:Modules/Macros
|
Fix information |
Fixed component name | WAS STANDARD SU | Fixed component ID | 5648C8302 |
Applicable component levels | R350 PSY | UP |
|