Fixes are available
8.5.5.1: WebSphere Application Server V8.5.5 Fix Pack 1
8.5.5.2: WebSphere Application Server V8.5.5 Fix Pack 2
8.5.5.3: WebSphere Application Server V8.5.5 Fix Pack 3
8.5.5.4: WebSphere Application Server V8.5.5 Fix Pack 4
8.5.5.5: WebSphere Application Server V8.5.5 Fix Pack 5
8.5.5.6: WebSphere Application Server V8.5.5 Fix Pack 6
8.5.5.7: WebSphere Application Server V8.5.5 Fix Pack 7
8.5.5.8: WebSphere Application Server V8.5.5 Fix Pack 8
8.5.5.9: WebSphere Application Server V8.5.5 Fix Pack 9
8.5.5.10: WebSphere Application Server V8.5.5 Fix Pack 10
8.5.5.11: WebSphere Application Server V8.5.5 Fix Pack 11
8.5.5.12: WebSphere Application Server V8.5.5 Fix Pack 12
8.5.5.13: WebSphere Application Server V8.5.5 Fix Pack 13
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
8.5.5.15: WebSphere Application Server V8.5.5 Fix Pack 15
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
APAR status
Closed as program error.
Error description
If the web.xml has the filter defined and its url mappings defined like following, . <filter> <filter-name>CustomRequestFilter</filter-name> <filter-class>com.ibm.ws.webcontainer.fvt.CustomRequestFilter</f ilter-class> </filter> <filter-mapping> <filter-name>CustomRequestFilter</filter-name> <url-pattern>/TestServlet</url-pattern> </filter-mapping> <filter-mapping> <filter-name>CustomRequestFilter</filter-name> <url-pattern>/customStuff/*</url-pattern> </filter-mapping> <filter-mapping> <filter-name>CustomRequestFilter</filter-name> <url-pattern>*.html</url-pattern> </filter-mapping> <filter-mapping> <filter-name>CustomRequestFilter</filter-name> <url-pattern>/customStuff/*</url-pattern> <url-pattern>*.html</url-pattern> </filter-mapping> . A request to ...server:port/FilterModifyRequestTestApp/customStuff/CustomPage .html . will add the "CustomRequestFilter" 4 times in the FilterChain and then invoke 4 times before CustomPage.html is serviced.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server Liberty Profile * **************************************************************** * PROBLEM DESCRIPTION: For an inbound request, the server * * invokes the same filter multiple * * times. * **************************************************************** * RECOMMENDATION: * **************************************************************** When an inbound request URI maps to multiple URL filter mappings the filter chain will be updated with the same filter multiple times. This will result in the filter being invoked multiple times for the same URI.
Problem conclusion
The WebContainer code has been updated and a filter will not be added if it is already present in the chain. To get this new behavior the following new WebContainer custom property needs to be set in the server.xml: as <webContainer denyDuplicateFilterinChain="true"/> (default =false) The fix for this APAR is currently targeted for inclusion in fix pack 8.5.5.1. Please refer to the Recommended Updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix
Comments
APAR Information
APAR number
PM93069
Reported component name
LIBERTY PROFILE
Reported component ID
5724J0814
Reported release
850
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-07-16
Closed date
2013-08-09
Last modified date
2014-10-21
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
LIBERTY PROFILE
Fixed component ID
5724J0814
Applicable component levels
R850 PSY
UP
Document Information
Modified date:
12 January 2022