Don't keep TLD/listener info between reloads
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@883565
13f79535-47bb-0310-9956-
ffa450edef68
applicationListeners = new String[0];
applicationEventListenersObjects = new Object[0];
applicationLifecycleListenersObjects = new Object[0];
+ taglibs = new HashMap<String, String>();
if(log.isDebugEnabled())
log.debug("resetContext " + oname);
log.error(sm.getString(
"tldConfig.execute", context.getPath()), e);
}
- } // Ignore the other event types - nothing to do
+ } else if (event.getType().equals(Lifecycle.STOP_EVENT)) {
+ taglibUris.clear();
+ listeners.clear();
+ }
}
private void init() {