[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3932) org.jboss.el.util.ReflectionUtil/org.jboss.el.util.ReferenceCache causes thread and memory leak

Alexander Schwartz (JIRA) jira-events at lists.jboss.org
Sun Mar 15 15:30:22 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBSEAM-3932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12457322#action_12457322 ] 

Alexander Schwartz commented on JBSEAM-3932:
--------------------------------------------

Hello Metthew, 

the java2d problem is known: 

http://forums.java.net/jive/thread.jspa?messageID=337065&#337065

See this thread for a workaround that works (at least for me). 

Alexander.

> 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
>            Assignee: Norman Richards
>             Fix For: 2.1.2.CR1
>
>         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

        



More information about the seam-issues mailing list