PQ99465: INCORRECT RESPONSE CODE SENT DURING SERVER SHUTDOWN

 Fixes are available

6.0.2: WebSphere Application Server V6.0 Refresh Pack 2 for AIX platforms
5.1.1.8: WebSphere Application Server 5.1.1 Cumulative Fix 8 for AIX
5.1.1.8: WebSphere Application Server 5.1.1 Cumulative Fix 8 for Windows
5.1.1.8: WebSphere Application Server 5.1.1 Cumulative Fix 8 for HP-UX
5.1.1.8: WebSphere Application Server 5.1.1 Cumulative Fix 8 for Solaris
6.0.2: WebSphere Application Server V6.0 Refresh Pack 2 for HP-UX platforms
6.0.2: WebSphere Application Server V6.0 Refresh Pack 2 for OS/400 platforms
5.1.1.6: WebSphere Application Server Version 5.1.1 Cumulative Fix 6
5.1.1.7: WebSphere Application Server Version 5.1.1 Cumulative Fix 7
5.1.1.4: WebSphere Application Server Version 5.1.1 Cumulative Fix 4
6.0.2: WebSphere Application Server V6.0 Refresh Pack 2 for Solaris platforms
6.0.2: WebSphere Application Server V6.0 Refresh Pack 2 for Windows platforms
6.0.2: WebSphere Application Server V6.0 Refresh Pack 2 for Linux platforms
5.1.1.8: WebSphere Application Server 5.1.1 Cumulative Fix 8 for Linux
6.0.1.2: WebSphere Application Server Version 6.0.1 Fix Pack 2



APAR status
Closed as program error.

Error description
The WebSphere Application server is sending a response code of
500 for a request that is received after the server has entered
shutdown. The Http Transport should send a 503 response if
server quiesce has started.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server users of the    *
*                 Http Transport.                              *
****************************************************************
* PROBLEM DESCRIPTION: After AppServer shutdown has started,   *
*                      the Http Transport will continue to     *
*                      accept requests on sockets that are     *
*                      in KeepAlive state. When the request    *
*                      is dispatched it fails because the      *
*                      application has been stopped. This      *
*                      leads to a high number of request       *
*                      failures during failover processing.    *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
The KeepAlive loop in HttpConnection will only check for server
shutdown at the end of request processing. That means that
shutdown could start while HttpConnection is waiting for the
next request. If it has, the next request that is received will
fail when it is dispatched because the applications have
stopped. This results in a response of 500, Internal Server
Error.
Problem conclusion
HttpConnection.readAndHandleRequest() has been changed to check
the server status after reading the request but before
beginning to handle it. If shutdown has started, a status of
503 will be returned without further processing. In the
scenario where an HTTP Server and plugin are being used, this
will allow the plugin to detect server shutdown and failover
to another server without losing the request.

The fix for this APAR is currently targeted for inclusion in
fixpack 5.02.10 and 5.1.1.4. Please refer to the Recommended
Updates page for delivery dates:
 
http://www-1.ibm.com/support/docview.wss?rs=180&context=SSEQTP
&uid=swg27004980
Temporary fix Comments
APAR information
APAR number PQ99465
Reported component name WAS BASE 5.0
Reported component ID 5630A3600
Reported release 10A
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2005-01-13
Closed date 2005-01-31
Last modified date 2005-01-31

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
HTTPTRAN          

Publications Referenced

Fix information

Applicable component levels
R003 PSN    UP
R00A PSN    UP
R00H PSN    UP
R00I PSN    UP
R00P PSN    UP
R00S PSN    UP
R00W PSN    UP
R103 PSY    UP
R10A PSY    UP
R10H PSY    UP
R10I PSY    UP
R10P PSY    UP
R10S PSY    UP
R10W PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 10A
Software edition:
Reference #: PQ99465
IBM Group: Software Group
Modified date: Jan 31, 2005