This week I spend reasonable time to eliminate all our ThreadLocal variables in our web applications. The reason was that they created classloader leaks and we coudn’t undeploy our applications…
Read more here:
Threading stories: ThreadLocal in web applications