PK09022: SIMPLEFILESERVLET RETURNS 500 ERROR FOR AN INVALID IF-MODIFIED- SINCE HEADER.

 A fix is available

Obtain the fix for this APAR



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 information
APAR number PK09022
Reported component name WEBSPHERE FOR Z
Reported component ID 5655I3500
Reported release 500
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2005-07-18
Closed date 2005-07-25
Last modified date 2005-08-02

APAR is sysrouted FROM one or more of the following:
PK07926

APAR is sysrouted TO one or more of the following:

Modules/Macros
BBOUBINF          

Publications Referenced

Fix information
Fixed component name WEBSPHERE FOR Z
Fixed component ID 5655I3500

Applicable component levels
R500 PSY UK05697    UP05/07/29 P F507

  Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.


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