PQ66830: AFTER APPLYING PQ54217(OR FIXPACK 4.0.4) CHAINERSERVLET FAILS TOHANDLE REQUEST WITH SESSIONS.

 Fixes are available

PQ66830: ChainerServlet throws a ClassCastException
4.0.5: WebSphere Application Server Version 4.0 Fix Pack 5 (Version 4.0.5)



APAR status
Closed as program error.

Error description
After applying 
PQ54217( or fixpack 4.0.4 ) that ChainerServlet
throws a ClassCastException when attempting to participate in
sessions.
Stact trace:
[9/18/02 15:53:14:186 MDT] 3c8778a0 WebGroup   X Servlet Error:
com.ibm.websphere.servlet.filter.ChainedRequest:
java.lang.ClassCastException: com.ibm.websphere.servlet.filter
.ChainedRequest
at com.ibm.servlet.engine.webapp.HttpServletRequestProxy.
getSRTSessionAPISupport(HttpServletRequestProxy.java:279)
at com.ibm.servlet.engine.webapp.HttpServletRequestProxy.
getSession(HttpServletRequestProxy.java:103)
at com.ibm.servlet.engine.webapp.HttpServletRequestProxy.
getSession(HttpServletRequestProxy.java:107)
at com.galileo.product.ctp.servlets.GZipServlet.service
(GZipServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService
(ServletManager.java:827)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service
(StrictLifecycleServlet.java:167)
at com.ibm.servlet.engine.webapp.IdleServletState.service
(StrictLifecycleServlet.java:297)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service
(StrictLifecycleServlet.java:110)
at com.ibm.servlet.engine.webapp.ServletInstance.service
(ServletManager.java:472)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.
dispatch(ServletManager.java:1012)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.
dispatch(ServletManager.java:913)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.
handleWebAppDispatch(WebAppRequestDispatcher.java:678)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.
dispatch(WebAppRequestDispatcher.java:331)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.
forward(WebAppRequestDispatcher.java:117)
at com.ibm.websphere.servlet.filter.ServletChain.
handleDispatch(ServletChain.java(Compiled Code))
at com.ibm.websphere.servlet.filter.ChainerServlet.
service(ChainerServlet.java(Compiled Code))
at com.ibm.websphere.servlet.filter.ChainerServlet.
service(ChainerServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.
doService(ServletManager.java:827)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.
_service(StrictLifecycleServlet.java:167)
at com.ibm.servlet.engine.webapp.IdleServletState.
service(StrictLifecycleServlet.java:297)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.
service(StrictLifecycleServlet.java:110)
at com.ibm.servlet.engine.webapp.ServletInstance.
service(ServletManager.java:472)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.
dispatch(ServletManager.java:1012)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.
dispatch(ServletManager.java:913)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.
handleWebAppDispatch(WebAppRequestDispatcher.java:678)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.
dispatch(WebAppRequestDispatcher.java:331)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.
forward(WebAppRequestDispatcher.java:117)
at com.ibm.servlet.engine.srt.WebAppInvoker.doForward
(WebAppInvoker.java:134)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook
(WebAppInvoker.java:239)
at com.ibm.servlet.engine.invocation.CachedInvocation.
handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.invocation.CacheableInvocationContext.
invoke(CacheableInvocationContext.java:106)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.
dispatchByURI(ServletRequestProcessor.java:154)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.
service(OSEListener.java:315)
at com.ibm.servlet.engine.http11.HttpConnection.
handleRequest(HttpConnection.java:60)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest
(HttpConnection.java(Compiled Code))
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java
(Compiled Code))
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:137)
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server Developers      *
*                 utilizing session with ChainerServlet        *
*                 or having mime filtering enabled.            *
****************************************************************
* PROBLEM DESCRIPTION: ClassCastException is thrown when       *
*                      attempting to retrieve a session        *
*                      object when request is of type          *
*                      ChainedRequest.                         *
****************************************************************
* 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
//wasdoc0/apars/pq66830/<was_version>
Comments
APAR information
APAR number PQ66830
Reported component name WEBSPHERE AE AI
Reported component ID 5630A2200
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2002-10-02
Closed date 2002-10-07
Last modified date 2002-10-07

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
ENGINE          

SRLS

Fix information
Fixed component name WEBSPHERE AE AI
Fixed component ID 5630A2200

Applicable component levels
R400 PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ66830
IBM Group: Software Group
Modified date: Oct 7, 2002