Fixes are available
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.17: WebSphere Application Server V8.5.5 Fix Pack 17
8.5.5.20: WebSphere Application Server V8.5.5.20
8.5.5.18: WebSphere Application Server V8.5.5 Fix Pack 18
8.5.5.19: WebSphere Application Server V8.5.5 Fix Pack 19
8.5.5.16: WebSphere Application Server V8.5.5 Fix Pack 16
8.5.5.21: WebSphere Application Server V8.5.5.21
APAR status
Closed as program error.
Error description
Filters defined with WebFilter annotations and only mapping assigned in web.xml does not get processed in Liberty.
Local fix
Add the filter delaration
Problem summary
**************************************************************** * USERS AFFECTED: IBM WebSphere Application Server Liberty * * Profile version 8.5.5 users of * * WebContainer. * **************************************************************** * PROBLEM DESCRIPTION: Filters declared by annotations without * * a filter element in the deployment * * descriptor are not invoked. * **************************************************************** * RECOMMENDATION: * **************************************************************** When the deployment descriptor contains a <filter-mapping> element, does not define that same filter in the <filter> element, and the filter is declared with the @WebFilter annotation the filter does not get invoked.
Problem conclusion
The WebContainer has been modified to fully process filters. A new WebContainer custom property needs to be set to enable this behavior: Name: com.ibm.ws.webcontainer.deferProcessingIncompleteFiltersInWebXML Values: true / false (default) The fix for this APAR is currently targeted for inclusion in fixpack 8.5.5.9. Please refer to the recommended updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix
Fully define the filter in the deployment descriptor.
Comments
APAR Information
APAR number
PI42598
Reported component name
WEBS APP SERV N
Reported component ID
5724H8800
Reported release
850
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2015-06-08
Closed date
2015-11-13
Last modified date
2015-11-13
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:
28 April 2022