My Oracle Support Banner

ServletContextListener Is Added Multiple Times (without Removed) (Doc ID 1458625.1)

Last updated on OCTOBER 23, 2023

Applies to:

Oracle WebLogic Server - Version 12.1.1.0 to 12.1.1.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

When an application with a ServletContextListener developed with annotation @WebListener() is deployed on Weblogic Server, and the application is subsequently stopped and started, the methods in the ServletContextListener are called multiple times. The number of times called is equal to the number of times the application is started or stopped.  

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.