[jboss-as7-dev] help needed with responding to reported classloader leaks in (Rest, Rest WS, JPA, EJB3 activation/passivation, other)...
Scott Marlow
smarlow at redhat.com
Mon Feb 13 12:59:24 EST 2012
In case you didn't see the forum thread and could help with the below
issues.
https://community.jboss.org/message/716191 is a forum thread about
classloader leaks.
Text from the forum thread:
"
Application ClassLoader leaks:
HibernateAnnotationScanner keeps references to application’s ClassLoader
(minor issue): https://issues.jboss.org/browse/AS7-3734
javax.ws.rs.ext.FactoryFinder use application’s Class Loader which
causes CL Memory Leak: https://issues.jboss.org/browse/AS7-3735
javax.el.BeanELResolver.properties keeps references to undeployed
classes: https://issues.jboss.org/browse/AS7-3736
Threads ContextClassLoader leaks:
AWT AppContext / EventQueue ClassLoader Memory Leaks:
https://issues.jboss.org/browse/AS7-3733
sun.net.www.http.KeepAliveCache preventing classloader from being
garbage collected: https://issues.jboss.org/browse/AS7-3732
Threads ContextClassLoader leak caused by EJB passivation pool:
https://issues.jboss.org/browse/AS7-3737
ThreadLocal pseudo-leaks:
org.jboss.resteasy.util.ThreadLocalStack creates ThreadLocal pseudo-leak
on AS 7: https://issues.jboss.org/browse/RESTEASY-660
"
I have a fix for the JPA leak but not sure about the others.
The ejb passivation pool leak probably needs the TCCL to be cleared when
new threads are created for the GroupAwareBackingCacheImpl.
Scott
More information about the jboss-as7-dev
mailing list