APAR status
Closed as program error.
Error description
Environment:
Operating System with Version/Release: AS400 52
Product with Version/Release: WebSphere Commerce Pro v56
Problem:
Customer upgraded to WebSphere Commerce v5.6.0.5 and now
receives the following error -- SRTServletRes W WARNING: Cannot
set header. Response already committed.
The problem only exists when the WSAS dynacache component is
enabled.
Cause:
The warning is printed to the logs when a Servlet (or JSP)
tries to modify the page header after it has been sent to the
client (browser). The response is flushed when the buffer is
full or when the flush() method is explicitly invoked.
Any attempts to modify the header after the response has been
sent to the client will produce the warning.
Local fix
Turn off dynacache
Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server version 5 and *
* 6 users. *
****************************************************************
* PROBLEM DESCRIPTION: WebSphere Commerce can set headers *
* after a response has already been *
* committed, causing WAS to log a *
* warning message to SystemOut. *
* *
****************************************************************
* RECOMMENDATION: *
****************************************************************
The WCS app sets headers in locations where the response
can already be committed, causing messages in the SystemOut
logs. Setting these headers on a cached/consumed fragment
will result in a different code path than setting them
on a non-cacheable fragment. This situation produces the
warning message.
Problem conclusion
This fix adds a check for the situation that produces the
warning message and replaces the warning message with an
event that will only be seen if event-level tracing is turned
on.
This fix resolves issues with the SystemOut logs filling up,
and only needs to be applied if the customer experiences this
issue.
The fix for this APAR is currently targeted for inclusion
in fixpacks 5.1.1.12, 6.0.2.13 and 6.1.0.1.
Please refer to the recommended updates page for delivery
information:
http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix Comments
APAR information |
APAR number |
PK24169 |
Reported component name |
WAS NETWRK DEPL |
Reported component ID |
5630A3601 |
Reported release |
00A |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2006-04-28 |
Closed date |
2006-06-29 |
Last modified date |
2006-09-27 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Publications Referenced
|
Fix information |
Fixed component name |
WAS NETWRK DEPL |
Fixed component ID |
5630A3601 |
Applicable component levels |
R003 PSY |
UP |
R00A PSY |
UP |
R00H PSY |
UP |
R00I PSY |
UP |
R00P PSY |
UP |
R00S PSY |
UP |
R00W PSY |
UP |
R103 PSY |
UP |
R10A PSY |
UP |
R10H PSY |
UP |
R10I PSY |
UP |
R10P PSY |
UP |
R10S PSY |
UP |
R10W PSY |
UP |
|