tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edoardo Panfili <edoa...@aspix.it>
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)

edoardo


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message