PK09022: SIMPLEFILESERVLET RETURNS 500 ERROR FOR AN INVALID IF-MODIFIED- SINCE HEADER. | |||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description The HTTP RFC states that in the case of an invalid If-Modified- Since header, an uncached 200 response should be returned. However, the SimpleFileServlet in WebSphere takes an IllegalArgumentException during parsing of the header, and externalizes that exception with a 500 error at the browser.Local fix Problem summary **************************************************************** * USERS AFFECTED: All users of WebSphere Application Server * * V5.0 for z/OS * **************************************************************** * PROBLEM DESCRIPTION: When an invalid If-Modified-Since * * header is sent in an HTTP request, * * the webcontainer throws an * * IllegalArgumentException and returns * * a response code of 500. * **************************************************************** * RECOMMENDATION: * **************************************************************** According to RFC Protocols: "If the request would normally result in anything other than a 200 (OK) status, or if the passed If-Modified-Since date is invalid, the response is exactly the same as for a normal GET. A date which is later than the server's current time is invalid." Therefore we should be returning a response code of 200 and not 500.Problem conclusion The code was modified to catch the IllegalArgumentException and return a response of 200 when an invalid If-Modified-Since header is received. APAR PK09022 is associated with SERVICE LEVEL W502032 of WebSphere Application Server V5.0 for z/OS.Temporary fix Comments
APAR is sysrouted FROM one or more of the following: PK07926 APAR is sysrouted TO one or more of the following: Modules/Macros
Publications Referenced
|
Document Information |
Current web document: swg1PK09022.html
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server for z/OS
Operating system(s):
Software version: 500
Software edition:
Reference #: PK09022
IBM Group: Software Group
Modified date: Aug 2, 2005
(C) Copyright IBM Corporation 2000, 2009. All Rights Reserved.