Catalina Listener for preventing various sources of memory leaks that are triggered by application redeployment.