APAR status
Closed as program error.
Error description
autoResponseEncoding=true enable appserver to detect
adaptive ResponseEncoding for DBCS user and it is IBM extention.
The problem is JspBatchCompiler fail to pick the flag up
from webmodule/serverconfig.
If JSP doesn't have page directive to fix the encode
type, then JSP is compiled into servlet with
default charset=ISO-8859-1.
Servlet source will have following code.
.
response.setContentType("text/html;charset=ISO-8859-1");
.
ISO-8859-1 written in servlet code will override
autoResponseEncoding=true logic. So JSP will be processed
and send back to client with ISO-8859-1 instead of autodetect.
It is not expected behavior for DBCS user.
The problem is eventlistner doen't care for JspBatchCompiler
situation.
.
.
With the batchcompile fix of this APAR,
Servlet source from JSP will include following code.
.
response.setContentType("text/html);
.
Now the logic for autoResponseEncoding flag will works as
expected for DBCS environment.
.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server applications *
* that use JspBatchCompiler *
****************************************************************
* PROBLEM DESCRIPTION: JspBatchCompiler generates the wrong *
* response encoding in DBCS environments *
* in which autoResponseEncoding has *
* been enabled in ibm-web-ext.xmi. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
JspBatchCompiler did not pick up autoResponseEncoding from ibm
web extension in a DBCS environment. It uses the default
encoding instead which cause garbage characters in responses.
Problem conclusion
Passing autoResponseEncoding to the JspBatchCompiler resolves
the problem.
In order to let the JspBatchCompiler pick up
autoResponseEncoding, it should be set to true in the
WEB-INF/ibm-web-ext.xmi file of the web application.
This fix is scheduled to be included in 5.0.2.10 and 5.1.1.4.
Please check the recommended updates page:
http://www-1.ibm.com/support/docview.wss?rs=180&context=SSEQTP
&uid=swg27004980 for delivery schedules.
Temporary fix Comments
APAR information |
APAR number |
PQ99478 |
Reported component name |
WAS BASE 5.0 |
Reported component ID |
5630A3600 |
Reported release |
10A |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2005-01-13 |
Closed date |
2005-01-18 |
Last modified date |
2005-01-18 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Publications Referenced
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 |
|