IBM Support

PK85953; 6.1.0.25: A request received during server shutdown gets a 500 error.

Download


Abstract

A request for an application while the application server is stopping, results in an Internal Server Error Exception and 500 error code.

Download Description

PK85953 resolves the following problem:

ERROR DESCRIPTION:
Channel has accepted a connection after the webcontainer has stopped processing during server shutdown. This causes a 500 error. WebContainer E SRVE0232E: Internal Server Error. Exception Message: [java.lang.NullPointerException
at com.ibm.ws.webcontainer.WebContainer.handleRequest
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready
...

LOCAL FIX:

PROBLEM SUMMARY

USERS AFFECTED:
All users of IBM® WebSphere® Application Server V6.1 and V7.0

PROBLEM DESCRIPTION:
A request for an application which is received when the Application Server is stopping, results in an Internal Server Error Exception and 500 status code

RECOMMENDATION:
None

If a request is received for an application while the WebContainer is stopping the WebContainer does not always handle the request correctly and causes a NullPointerException. As a result the request returns an Internal Server Error Exception and 500 status code.

PROBLEM CONCLUSION:
The WebContainer code has been updated, when processing an inbound request, to first check if the WebContainer is in the process of stopping. If the WebContainer is in the process of stopping it will return a 503 status code for the request.

The fix for this APAR is currently targeted for inclusion in Fix Packs 6.1.0.27 and 7.0.0.5. Refer to the Recommended Updates page for delivery information:
http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980

Prerequisites

Download the UpdateInstaller below to install this fix.

[{"PRLabel":"UpdateInstaller","PRLang":"US English","PRSize":"7250000","PRPlat":{"label":"AIX","code":"PF002"},"PRURL":"http://www.ibm.com/support/docview.wss?rs=180&uid=swg21205991"}]

Installation Instructions

Review the readme.txt for detailed installation instructions.

[{"INLabel":"Readme","INLang":"US English","INSize":"7987","INURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK85953/readme.txt"}]
On
[{"DNLabel":"6.1.0.25-WS-WAS-IFPK85953","DNDate":"9/24/2009","DNLang":"US English","DNSize":"47685","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"https://www.ibm.com/support/fixcentral/quickorder?fixids=6.1.0.25-WS-WAS-IFPK85953&product=ibm%2FWebSphere%2FWebSphere%20Application%20Server&source=dbluesearch","DNURL_FTP":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK85953/6.1.0.25-WS-WAS-IFPK85953.pak","DDURL":"http://public.dhe.ibm.com:7618;sw_websphere;appserv/support/fixes/PK85953/6.1.0.25-WS-WAS-IFPK85953.pak"}]

Technical Support

Contact IBM Support using SR (http://www.ibm.com/software/support/probsub.html), visit the WebSphere Application Server Support Web site (http://www.ibm.com/software/webservers/appserv/was/support/), or contact 1-800-IBM-SERV (U.S. only).

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Servlet Engine\/Web Container","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"6.1.0.25","Edition":"Network Deployment;Single Server","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
07 October 2019

UID

swg24024145