PK33090; 6.1: A filter that serves a file does not popup an alert message
The Webcontainer throws a FileNotFoundException when a resource does not exist on the file system but a filter should find it.
PK33090 resolves the following problem:
A filter that serves a file does not popup an alert message in IBM® WebSphere® Application Server version 6.1 and where as the same code works fine in Application Server version V6.0.2 level.
WebSphere Application Server version 6.1 users.
The WebContainer throws a FileNotFoundException when a request is received for a static file which does not exist on the file system despite a called filter handling the request and not calling the next filter in the chain.
When a request is made for a static file which does not exist at the location specified in the request, the WebContainer calls the filters (if any) associated with the request. The filters may then process the request and not call the next filter in the chain, effectively completing the request. This should prevent the WebContainer from sending back a 404 FileNotFoundException. However, in this situation the WebContainer continues to send back a 404 FileNotFoundException.
Further, if the filter commits the request additional warning messages may be seen:
SRTServletRes W WARNING: Cannot set status. Response already committed.
SRTServletRes W WARNING: Cannot set header. Response already committed.
The Webcontainer code has been modified to not send back a 404 FileNotFoundException, in response to a request for a nonexistent static file, if a filter effectively completes the request by not calling the next filter in the chain. Note that for the filters to be called when a static file which is a target of a request and does not exist, the following Webcontainer custom property must be set to 'true':
As a result this custom property must be set for this fix APAR to be enabled. For details of how to set a webcontainer custom property please see:
The fix for this APAR is currently targeted for inclusion in Fix Pack 220.127.116.11.
Please refer to the Recommended Updates page for delivery information:
Please download the UpdateInstaller below to install this fix.
Please review the readme.txt for detailed installation instructions.
|Download||RELEASE DATE||LANGUAGE||SIZE(Bytes)||Download Options
What is DD?
|18.104.22.168-WS-WAS-IFPK33090||01-16-2007||US English||25506||FTP DD|
|22.214.171.124-WS-WAS-IFPK33090||01-16-2007||US English||25506||FTP DD|
Contact IBM Support using SR (http://www-306.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).
|Application Servers||Runtimes for Java Technology||Java SDK|
Problems (APARS) fixed
More support for:
WebSphere Application Server
Servlet Engine/Web Container
Software version: 6.1
Operating system(s): AIX, HP-UX, IBM i, Linux, Solaris, Windows
Software edition: Base, Network Deployment
Reference #: 4014758
Modified date: 25 August 2010
Translate this page: