PQ86046: WEBSPHERE V401 W401606, HTTP PLUG-IN CALL, HTTPD_EXTRACT() FAILSWITH RC 6 IF 1024K BUFFER IS EXCEEDED. HTTPD_BUFFER_TOO_SMALL | |||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description zOS WebSphere v4.0.1 service level W401606 . Prior to this service level, the local redirector plug-in allocated a buffer for QUERY_STRING with 1024 bytes. If this buffer was too small (means we get a 'failed with RC 6') then another buffer is allocated with a larger size and HTTPD_extract() ends successfully. Using the new HTTP plug-in then also a buffer with 1024 bytes is allocated. But when HTTPD_extract() fails with return code 6 (meaning 'HTTPD_BUFFER_TOO_SMALL' ) and we do NOT recover the HTTPD_extract according the trace. We ignore this condition and continue processing. Environment is z/OS 1.3 level W401606. . VV trace shows following: HTTPD_extract() args..... name= DOCUMENT_URI ; name size= 12 HTTPD_extract() args..... buffer= 0x29a2c43c ; buffer size= 3072 HTTPD_extract().. successful with value= "/ausfalldb//Ruckfluss ?User=######&Termid=TBEN&Institute=32000&Pw=######&KMAN###=###32 ESTAMP=2003-12-23-11.42.48.953040&VERARBEITUNG=&KUNDENNUMMER=000 14125&KSVZKUNDENART=01&KERSTERFASSUNG=2003-12-22&KNACHNAME=D%FCr ...buffer contents continue and end with: VZRUECKSTATUS=&RDATUM=&RHOEHE=&RKONTO=&RRUECKFLUSSID=0000000000& MP=" HTTPD_extract() args..... name= CLIENTMETHOD ; name size= 12 HTTPD_extract() args..... buffer= 0x29a2c400 ; buffer size= 32 HTTPD_extract()... successful with value= "GET" HTTPD_extract() args..... name= QUERY_STRING ; name size= 12 HTTPD_extract() args..... buffer= 0x29a2d040 ; buffer size= 1024 HTTPD_extract()... failed with return code 6 ---------------------------------------------------------------- The QUERY_STRING is 1284 bytes in length but the allocated buffe buffer size is only 1024 bytes. Hence return code 6 HTTPD_BUFFER_TOO_SMALL is validly issued.Local fix Problem summary **************************************************************** * USERS AFFECTED: All users of WebSphere Application Server * * V5.0 for z/OS * **************************************************************** * PROBLEM DESCRIPTION: HTTP response code 500 if the query * * string is over 1023 bytes long. * **************************************************************** * RECOMMENDATION: * **************************************************************** If a request has a query string longer than 1023 bytes, the HTTP plugin is unable to hold it in a buffer, and fails to handle the request, resulting in an HTTP response code 500.Problem conclusion The WebSphere Application Server plugin used with HTTP Server for z/OS is changed to acquire more memory as needed when variables such as the URI and query string exceed the original buffer size. Also, the HTTP plugin is enhanced to use more efficient techniques for extracting and setting plugin variables, when used with HTTP Server for z/OS with APAR PQ86769 available. APAR PQ86046 is associated with SERVICE LEVEL W502009 of WebSphere Application Server V5.0 for z/OS.Temporary fix Comments
APAR is sysrouted FROM one or more of the following: PQ85866 APAR is sysrouted TO one or more of the following: Modules/Macros
Publications Referenced
|
Document Information |
Current web document: swg1PQ86046.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 #: PQ86046
IBM Group: Software Group
Modified date: Jun 3, 2004
(C) Copyright IBM Corporation 2000, 2009. All Rights Reserved.