Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005611 [Resin] minor always 12-12-13 00:03 09-12-14 14:48
Reporter Gerrit Janssen View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.37
Summary 0005611: contextInitialized method of a ServletContextListener is called twice
Description I'm using a ServletContainerInitializer to register a ServletContextListener instance. While registering the listener, its contextInitialized() method is called a first time:
contextInitialized():106, ContextLoaderListener {org.springframework.web.context}
addListenerObject():2157, WebApp {com.caucho.server.webapp}
addListener():2112, WebApp {com.caucho.server.webapp}
onStartup():31, WebAppInitializer {com.cartagenia.web}
onStartup():181, SpringServletContainerInitializer {org.springframework.web}
callInitializer():3479, WebApp {com.caucho.server.webapp}
callInitializers():3447, WebApp {com.caucho.server.webapp}
startImpl():3672, WebApp {com.caucho.server.webapp}

Next, when execution of the WebApp.startImpl() method continues, it is called a second time:
contextInitialized():106, ContextLoaderListener {org.springframework.web.context}
startImpl():3688, WebApp {com.caucho.server.webapp}

I would assume that the contextInitialized method gets called only once.

Could this be related to [^] ?
This is the exact same error message I am getting.
Additional Information
Attached Files

- Relationships

- Notes
09-12-14 14:48


- Issue History
Date Modified Username Field Change
12-12-13 00:03 Gerrit Janssen New Issue
09-12-14 14:48 ferg Note Added: 0006530
09-12-14 14:48 ferg Assigned To  => ferg
09-12-14 14:48 ferg Status new => closed
09-12-14 14:48 ferg Resolution open => fixed
09-12-14 14:48 ferg Fixed in Version  => 4.0.41

Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker