tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edoardo Panfili <>
Subject Re: How to close open connections after application stop?
Date Sun, 22 Feb 2009 20:58:12 GMT
Mark Thomas ha scritto:
> Edoardo Panfili wrote:
>> Using this code in destroy() method of a servlet marked as
>> <load-on-startup>1</load-on-startup>
> Yep - that is the sort of code you'd need. Using a context listener
> would be a better solution as Tomcat is free to call destroy() on your
> Servlet whenever it likes.
Thank again (to you and the list)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message