PQ69096: WHEN AN ILLEGALARGUMENTEXCEPTION IS THROWN, THE DEFAULT ERROR PAGE IS NOT DISPLAYED, AND THE ERROR REPORTER DISPLAYS THE STACK | |||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description When making a reference to another page, as in the following tag Go to next page <A href="index3.jsp?myparam=%%%">passing %%%</A> The result is an IllegalArgumentException. The default error page defined in the ibm-web-ext.xmi file is not used, and the ErrorReporter servlet appears to display the stack information.Local fix Problem summary **************************************************************** * USERS AFFECTED: WebSphere Application Server installations * * receiving invalid query string parameters * * for JSP requests. * **************************************************************** * PROBLEM DESCRIPTION: Customer defined error pages are * * not executed when invalid query * * string parameters are passed to * * a JSP resource. * **************************************************************** * RECOMMENDATION: * **************************************************************** An uncatchable IllegalArgumentException is thrown when an invalid query string is sent to a JSP resource. The JSP Processor parses the query string prior to executing the JSP in search of the request parameter jsp_precompile. Since the default error page is also a JSP, the forwarding to the error page also fails with the same exception. This prevents the custom error page from being executed resulting in a WebSphere generated error page being sent to the client.Problem conclusion Added exception handling to catch IllegalArgumentException when checking if the request parameter jsp_precompile was sent with the request.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 #: PQ69096
IBM Group: Software Group
Modified date: Dec 16, 2002
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.