You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "chunlinyao (JIRA)" <ji...@apache.org> on 2012/12/05 08:03:02 UTC

[jira] [Created] (OWB-732) ClassLoader leak in WebBeansUtil.isScopeTypeNormalCache

chunlinyao created OWB-732:
------------------------------

             Summary: ClassLoader leak in WebBeansUtil.isScopeTypeNormalCache
                 Key: OWB-732
                 URL: https://issues.apache.org/jira/browse/OWB-732
             Project: OpenWebBeans
          Issue Type: Bug
          Components: Context and Scopes
    Affects Versions: 1.1.6
            Reporter: chunlinyao


OpenWebBeans can shipped with JavaEE server(ex. TomEE), and codi may be in the WEB-INF/lib folder.
WebBeansUtil.isScopeTypeNormalCache will holder some annotation class like ViewAccessScope. This will cause classLoader leak when reload the web apps.
Maybe we should use weak reference.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (OWB-732) ClassLoader leak in WebBeansUtil.isScopeTypeNormalCache

Posted by "Romain Manni-Bucau (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OWB-732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Romain Manni-Bucau closed OWB-732.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.7

moved the cache + methods over the bean manager. The utils place was not very appropriated.

Thanks for the report
                
> ClassLoader leak in WebBeansUtil.isScopeTypeNormalCache
> -------------------------------------------------------
>
>                 Key: OWB-732
>                 URL: https://issues.apache.org/jira/browse/OWB-732
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Context and Scopes
>    Affects Versions: 1.1.6
>            Reporter: chunlinyao
>              Labels: leak
>             Fix For: 1.1.7
>
>
> OpenWebBeans can shipped with JavaEE server(ex. TomEE), and codi may be in the WEB-INF/lib folder.
> WebBeansUtil.isScopeTypeNormalCache will holder some annotation class like ViewAccessScope. This will cause classLoader leak when reload the web apps.
> Maybe we should use weak reference.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira