IBM Support

PK54499: WebContainer option to override fileservingenabled="true"

Download


Abstract

It is not possible to globally prevent all applications, on a given application server, from serving static files.

Download Description

PK54499 resolves the following problem:

ERROR DESCRIPTION:
This APAR provides the option to globally disable static file serving on a given application server. This enables the setting of fileServingEnabled="true" at the application level to be overridden.

LOCAL FIX:

PROBLEM SUMMARY

USERS AFFECTED:
IBM WebSphere Application Server users who do not wish to serve static files.

PROBLEM DESCRIPTION:
It is not possible to globally prevent all applications, on a given application server, from serving static files regardless of their individual deployment settings.

RECOMMENDATION:
None

The WebContainer provides a custom property (fileServingEnabled) that can be used to enable/disable the serving of static files for all applications that do not define the fileServingEnabled setting in their deployment information. As a result, because the custom property setting is overridden by the specific deployment information of each application, there is no way to globally disallow file serving irrespective of the specific deployment information of each application.


PROBLEM CONCLUSION:
A new WebContainer custom property has been added that disallows file serving on all applications (except the administration console) on a given application server, irrespective of the specific deployment information of each application.

Set the new WebContainer custom property com.ibm.ws.webcontainer.disallowAllFileServing to true to
disable all file serving on a given application server. This custom property is not case sensitive.

Please refer to the following technote for instructions on enabling WebContainer custom properties:
http://www.ibm.com/support/docview.wss?rss=180&uid=swg21284395

The fix for this APAR is currently targeted for inclusion in Fix Packs 5.1.1.17, 6.0.2.25 and 6.1.0.15.


Please refer to the recommended updates page for delivery information:
http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980

Prerequisites

Please 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

Please review the readme.txt for detailed installation instructions.

[{"INLabel":"Readme","INLang":"US English","INSize":"5682","INURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK54499/readme.txt"}]

Download Package

Download package
What is Fix Central (FC)?
What is DD?
Download RELEASE DATE LANGUAGE SIZE(Bytes) Download Options
6.0.2.23-WS-WAS-IFPK5449912-17-2007US English9975FCFTPDD

On
[{"DNLabel":"6.0.2.23-WS-WAS-IFPK54499","DNDate":"12-17-2007","DNLang":"US English","DNSize":"9975","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":null,"DNURL_FTP":null,"DDURL":null}]

Technical Support

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).

[{"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.0.2.13;6.0.2.15;6.0.2.17;6.0.2.19;6.0.2.21;6.0.2.23","Edition":"Advanced;Base;Developer;Enterprise;Express;Network Deployment;Single Server","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg24017926