Can requests potentially arrive at a servlet before the ServletContextListener's contextInitialized method has completed? I ask because the method occurs as a notification once the servlet context is ready to accept requests. Is there a chance, then, that a request could begin being served while your contextInitialized method is being carried out (especially if it's long-running)?
Is contextInitialized suitable only for things like logging the fact that a context is ready, or can it be used for setup that MUST occur before the first request is accepted? If not the latter, what can be used to serve this function? -- View this message in context: http://www.nabble.com/ServletContextListener-tf3894944.html#a11042104 Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]