Anonymous | Login | Signup for a new account | 12-17-2024 08:55 PST |
Main | My View | View Issues | Change Log | Docs |
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 http://bugs.caucho.com/view.php?id=5481 [^] ? This is the exact same error message I am getting. |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |