Details
-
Bug
-
Resolution: Done
-
Major
-
JBossAS-4.0.3 Final, JBossAS-4.0.3 SP1, JBossAS-4.0.4.GA, JBossAS-4.0.5.GA, JBossAS-5.0.0.Beta1
-
None
Description
A number of the JACC PolicyContextHandler impls use a ThreadLocal. In many cases, the users of these classes are not making the necessary cleanup call and objects are leaking to the thread via the ThreadLocal.
A search for implementations of PolicyContextHandler and then a review of the usage of each impl found problems with:
org.jboss.ejb.BeanMetaDataPolicyContextHandler
org.jboss.ejb.plugins.EnterpriseBeanPolicyContextHandler
org.jboss.web.tomcat.security.HttpServletRequestPolicyContextHandler