When starting up, Listeners are started before load-on-startup servlets,
so we use this mechanism to initialize Spring.

 

On shutdown, Tomcat seems to shutdown listeners BEFORE the servlets.
This results in the Spring context being discarded while it is still
needed.  If context listeners start before servlets, shouldn't the
listeners be shutdown AFTER the servlets?


IMPORTANT NOTICE:
This message may contain confidential information. If you have received this 
e-mail in error, do not use, copy or distribute it. Do not open any 
attachments. Delete it immediately from your system and notify the sender 
promptly by e-mail that you have done so. Thank you.

Reply via email to