PQ67971: CLASSCASTEXCEPTION WHEN FORWARDING FROM ONE PAGE TO ANOTHER. | |||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description The following exception is thrown during a forward java.lang.ClassCastException: com.netegrity.siteminder.java. servlet.websphere.four.ce at com.ibm.servlet.engine.webapp.HttpServletRequestProxy. getSRTSessionAPISupport(HttpServletRequestProxy.java:293) PQ66830 has solved the problem for single forward, but if there are nested forwards, the above problem will not be solved.Local fix Problem summary **************************************************************** * USERS AFFECTED: WebSphere Application Server developers * * utilizing sessions in servlets and * * JSPs with multiple RequestDispatchers. * **************************************************************** * PROBLEM DESCRIPTION: ClassCastException is thrown when * * a servlet attempts to retrieve a * * session object. * **************************************************************** * RECOMMENDATION: * **************************************************************** When using mime filtering or WebSphere's ChainerServlet, the ChainedRequest object was not able to retrieve the session objects. A ClassCastException was thrown since ChainedRequest did not extend / implement the WebSphere class HttpServletRequestProxy object used to retrieve session information.Problem conclusion Modified the WebSphere implementation for retrieving HttpServletRequestProxy to ensure that all requests can be cast to HttpServletRequestProxy when attempting to retrieve the session object.Temporary fix Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
SRLS
|
Document Information |
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ67971
IBM Group: Software Group
Modified date: Nov 14, 2002
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.