APAR status
Closed as program error.
Error description
The customer wants to handle error page with exception-type as
follow.
.
<error-page id="ExceptionTypeErrorPage_1101893461554">
.
<exception-type>java.lang.NullPointerException</exception-type>
<location>/errorHandle1</location>
</error-page>
<error-page id="ExceptionTypeErrorPage_1101893461564">
<exception-type>java.lang.Exception</exception-type>
<location>/errorHandle2</location>
</error-page>
.
If NullPointerException is thrown, specific error page is
shown.
But, if subclass of java.lang.Exception is thrown(i.e.
NumberFormatException), errorHandle2 is not shown.
Local fix
NA
Problem summary
****************************************************************
* USERS AFFECTED: Users who define error pages that can be *
* determined only by navigating the class *
* hierarchy. *
* *
****************************************************************
* PROBLEM DESCRIPTION: When an exception occurs WebSphere *
* Application Server redirects to an *
* error page if defined explicitly for *
* the exception, defaulting to the *
* default error page defined for the web *
* module. However, if the specification *
* mandates if an exact match is not *
* found, then the closest super type's *
* error page must be used, Application *
* Server was not doing this. Instead it *
* was redirecting to the default error *
* page. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
Error page handling did not navigate the super class
hierarchy
Problem conclusion
Our code was only looking for an exact match, otherwise using
the default error page. New code was added to meet this
requirement.
The fix for this APAR is currently targeted for inclusion
in 5.02.11 and 5.1.1.5.
Please refer to the recommended updates page for delivery
information:
http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix Comments
APAR information |
APAR number |
PK01724 |
Reported component name |
WAS ENTERPRISE |
Reported component ID |
5630A3700 |
Reported release |
00S |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2005-02-25 |
Closed date |
2005-04-01 |
Last modified date |
2007-10-12 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
PK54648
Modules/Macros
Publications Referenced
|
Fix information |
Fixed component name |
WAS BASE 5.0 |
Fixed component ID |
5630A3600 |
Applicable component levels |
R00A PSY |
UP |
R00H PSY |
UP |
R00I PSY |
UP |
R00P PSY |
UP |
R00S PSY |
UP |
R00W PSY |
UP |
R10A PSY |
UP |
R10H PSY |
UP |
R10I PSY |
UP |
R10P PSY |
UP |
R10S PSY |
UP |
R10W PSY |
UP |
|