We recently ran into an issue where the requestDestroyed() method of listeners
were not being called when exceptions were propagated out of our application.
Looking into the code, it seems related to this[1]. Is this the expected
behavior for listeners and we can’t rely on the
Hey tomcat users,
The javadoc for WebappLoader still tells me to use addRepository(), but that
method no longer exists. My team has implemented an extension of WebappLoader
that looked like this:
https://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/loader/WebappLoader.html