PQ53053: WHEN USING THE METHOD =POST GETTING AN ERROR 500 INTERNAL SERVERERROR FROM THE BROWSER.TYPE /SERVERNAME/SERVLET:9080 WORKS FINE

APAR status
Closed as program error.

Error description
Customer uses VAJ 4.0 to write their servlets.  Problem
appears to be with the http plugin when they  use the =post
 method.  The native.log returns "error handling request
 to create the client".  The problem occurs on all platforms
 and AEs.  Customer's static html files work fine and as stated
 the get method works fine using default port 80 as well as
 websphere port 9080.
This is fixed in internal defect 110964 and results from a check
 when reading the content body if 0 bytes are read to fail the
 request. In this case the POST request has no content so a 0
 return is valid.
Search Words: Post, Error 500, WAS 4.0, Websphere Version 4.0
Local fix
Customer states that if he enters data, then the Post method
works fine.
Problem summary
****************************************************************
* USERS AFFECTED: All WebSphere Application Server users who   *
*                 have applications utilizing the POST method  *
*                 where the POST request content is length 0.  *
****************************************************************
* PROBLEM DESCRIPTION: POST requests with no content would     *
*                      fail and a response of Error 500        *
*                      Internal Server Error would be seen by  *
*                      the user.                               *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
The code would check the amount of bytes read from the client
on POST requests.  If no content was read the request would
be failed.  However, in this case there was no content to read
so the 0 bytes read was valid.
Problem conclusion
Modified the code so that if the content length was 0 on POST
requests we didn't bother to try to read from the client since
we already knew there was no content to be read.
Temporary fix Comments
APAR information
APAR number PQ53053
Reported component name WEBSPHERE AE NT
Reported component ID 5630A2201
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2001-10-03
Closed date 2001-10-09
Last modified date 2002-11-01

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
PLUGIN          

Fix information
Fixed component name WEBSPHERE AE NT
Fixed component ID 5630A2201

Applicable component levels
R400 PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ53053
IBM Group: Software Group
Modified date: Nov 1, 2002