My Oracle Support Banner

Filter.init(FilterConfig) Not Called When Registered During ServletContainerInitializer.onStartup (Doc ID 1582644.1)

Last updated on OCTOBER 25, 2023

Applies to:

Oracle WebLogic Server - Version 12.1.1.0 and later
Information in this document applies to any platform.

Symptoms

On WLS 12.1.1 when following the servlet 3.0 method for registering filters during the ServletContainerInitializer.onStartup(c, ctx) method, the filter gets registered, but the Filter.init(FilterConfig) method is never called.

For example you would expect to see this sent to stdout:

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.