tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: context destroy method only be called once
Date Tue, 22 Jan 2019 13:14:35 GMT
On 22/01/2019 04:16, Aryeh Friedman wrote:
> Platform / tomcat version:  Tomcat 9.0.13 / FreeBSD 11.2-RELEASE (amd64)
> [from ports collection without modification]
> 
> I have 3 ServletContextListener concrete classes and on tomcat start all 3
> contextInitalized() methods are called, and complete,but on tomcat stop
> only one of the three contextDestroyed() methods completes though all are
> called.  Is this normal?  If so what is the right way to work around only
> one being able to complete?  If not where and how should I start debugging
> this?

What do you mean by "don't complete"? Are they blocked? Is an exception
thrown? Something else?

Generally, if the methods are called then Tomcat is doing the right
thing. If the methods don't complete normally that would usually
indicate an application issue.

Mark

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


Mime
View raw message