PQ67971, 4.0.3,4.0.4: ChainServlet fails to handle
multiple entry requests
Downloadable files
Abstract
ClassCastException when forwarding from one page to
another in a chain.
Download Description
Users affected
WebSphere® Application Server developers utilizing sessions with servlets
and JSP™ pages with multiple RequestDispatchers are affected by this
problem.
Problem description
After applying PQ54217, or fix pack V4.0.4 , the ChainerServlet throws a
ClassCastException when attempting to participate in sessions, with
multiple entries in the chainer list.
ClassCastException is thrown when a servlet attempts to retrieve a session
object. When using mime filtering or the WebSphere ChainerServlet, the
ChainedRequest object was not able to retrieve the session objects. A
ClassCastException was thrown since ChainedRequest did not extend or
implement the WebSphere class HttpServletRequestProxy object used to
retrieve session information.
Problem conclusion
Modified the WebSphere Application Server implementation for retrieving
HttpServletRequestProxy to ensure that all requests can be cast to
HttpServletRequestProxy when attempting to retrieve the session object.
Note: This fix supersedes PQ66830 and PQ54217.
Prerequisites
None
Installation Instructions
Please review the readme file for detailed installation
instructions.