[
https://jira.jboss.org/jira/browse/JBSEAM-3932?page=com.atlassian.jira.pl...
]
Alexander Schwartz updated JBSEAM-3932:
---------------------------------------
Attachment: reference.patch
Suggestion how the thread could be cleaned (plus servletcontextlistener that can be put to
web.xml)
org.jboss.el.util.ReflectionUtil/org.jboss.el.util.ReferenceCache
causes thread and memory leak
-----------------------------------------------------------------------------------------------
Key: JBSEAM-3932
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3932
Project: Seam
Issue Type: Bug
Affects Versions: 2.1.1.GA
Environment: Tomcat w/ Seam on Windows
Reporter: Alexander Schwartz
Attachments: reference.patch
org.jboss.el.util.ReflectionUtil (from jboss-el) uses a
private static ReferenceCache methodCache
and this ReferenceCache is leaking a thread that is used for cleanup. You can't call
a cleanup method from the outside.
Every redeployment of an application will leak one thread due to this bug. And it causes
a memory leak as the web application class loader can't be unloaded due to this bug.
The pom.xml of jboss-el states "JBoss EL is a extended EL implementation,
distributed with Seam", therefore I report this bug against Seam.
If this thread should really be necessary, it should have a proper name.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira