https://issues.apache.org/bugzilla/show_bug.cgi?id=40162
--- Comment #9 from Horst Scheruga <ho...@scheruga.net> 2009-07-15 04:41:28 PST --- (In reply to comment #8) Finding a workaround for my problem is not so hard. In the Servlet.init() method I store the Jndi Context value I need into a String. For retrieving the JndiContext I use the attached JndiContext class, which has an instance variable of type InheritableThreadLocal, which is used if the Jndi context does not deliver the needed values In Servlet.destroy() I set the stored String into the JndiContext class. --- However the servlets destroy() methods should be called by tomcat BEFORE the resources of a web application are released. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- 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