Hello, I have several contexts running in Tomcat(5.5.23), which use some common utilities. Classes for these utilities are in shared/ directory of the Catalina installation. Is there a way by which Tomcat can invoke a callback on these classes (shared/*) when it is shutting down? I need this to perform cleanups. Basically, I would use an equivalent of ServletContextListener.contextDestroyed() callback in deployed contexts. I failed to stumble upon any useful googled info.
Thanks