PQ78718: onServletFinishService have to be called no matter in what condition. | |||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||
APAR status Closed as program error. Error description ServletInvocationListener.onServletFinishService() is not called in some cases - to be more exactly when the exception is thrown within the service method of JspServlet(runtime).Local fix no work around.Problem summary **************************************************************** * USERS AFFECTED: User on WebSphere V4 who expected * * JspServlet to call onServletFinishService * * method when Servlet exception is * * encountered. * **************************************************************** * PROBLEM DESCRIPTION: JspServlet service method is supposed * * to call onServletFinishService() when * * the service is completed. * * The problem is that the call to * * onServletFinishService() is not * * called if the servlet throws an * * exception. * **************************************************************** * RECOMMENDATION: * **************************************************************** Call to onServletFinishService was not considered as part of the exception handling of the JspServlet service method. Therefore, when an exception is thrown by the Servlet, the call to onServletFinishService is skipped.Problem conclusion To correct this problem, the JspServlet service method code is changed to call onServletFinsihService method no matter if a normal exit is encountered or an exception is thrown.Temporary fix test fix posted to pq99999 on 09/23/2003Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
|
Document Information |
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ78718
IBM Group: Software Group
Modified date: Sep 30, 2003
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.