ServletContextListener Is Added Multiple Times (without Removed)
(Doc ID 1458625.1)
Last updated on OCTOBER 12, 2022
Applies to:Oracle WebLogic Server - Version 22.214.171.124 to 126.96.36.199 [Release 12c]
Information in this document applies to any platform.
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.
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