APAR status
Closed as program error.
Error description
a JSP "A" is including the following via
RequestDispatcher.include():
-a servlet "B" that include (via RequestDispatcher.include())
a JSP "C" without using ChainedResponse
-a servlet "D" that include (via RequestDispatcher.include())
the same JSP "C" and using ChainedResponse.
The call to servlet "D" is raising a ClassCastException
when trying to transfert the response
(ChainedResponse.transfertResponse()).
The call to servlet "B" is including JSP "C" successfully.
Not using ChainedResponse prevents from checking if
JSP "C" was processed correctly before writing its content
in the final response. And it's not acceptable for customer.
ClassCastException in
com.ibm.websphere.servlet.filter.ChainedResponse.
[5/4/04 16:42:53:688 EDT] 42f4b448 WebGroup I SRVE0180I:
[_TestWAR]
[/test] [Servlet.LOG]: SimpleServletWithChainedResponse: init
[5/4/04 16:42:53:812 EDT] 42f4b448 WebGroup I SRVE0180I:
[_TestWAR]
[/test] [Servlet.LOG]: /MyFinalJSP.jsp: init
[5/4/04 16:42:54:234 EDT] 42f4b448 SystemOut O class
com.test.chained.response.SimpleServletWithChainedResponse-ERROR
in
ChainedResponse.transferResponse():java.lang.ClassCastException:
com.ibm.ws.webcontainer.srt.SRTServletResponse
[5/4/04 16:42:54:250 EDT] 42f4b448 TraceNLS u No message
text
associated with key
HttpConnection.run:.java.lang.IllegalStateException:.123.respons
e.bytes.
written,.but.Content-Length.header.equals.153 in bundle
com.ibm.ejs.resources.seriousMessages
[5/4/04 16:42:54:250 EDT] 42f4b448 HttpConnectio E
HttpConnection.run:
java.lang.IllegalStateException: 123 response bytes written, but
Content-Length header equals 153
[5/4/04 16:42:54:344 EDT] 42f4b448 SystemOut
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server users *
****************************************************************
* PROBLEM DESCRIPTION: WebSphere throws ClassCastException in *
* com.ibm.websphere.servlet.filter. *
* ChainedResponse. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
WebSphere does not handle SRTServletResponse before
casting it to StoredResponse when transferResponse
Problem conclusion
WebSphere properly handles SRTServletResponse when
transferResponse
Temporary fix
Test fix is up
Comments
APAR information |
APAR number |
PQ88880 |
Reported component name |
WAS BASE 5.0 |
Reported component ID |
5630A3600 |
Reported release |
10W |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2004-05-14 |
Closed date |
2004-06-09 |
Last modified date |
2004-06-09 |
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 |
|