https://issues.apache.org/bugzilla/show_bug.cgi?id=57314
--- Comment #7 from Remy Maucherat <r...@apache.org> --- "is miserable": thanks for the feedback :) "when it is called with respect to ServletRequestListener": "Callback for establishing naming association when entering the application scope. This corresponds to setting the context classloader." So you have it, it is called when calling setContextClassLoader. "Is there an example somewhere of how this should be registered": Same Context.setThreadBindingListener API as in JBoss Web, but you need the usual Tomcat server listener to add it to all contexts as needed. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org