[ 
https://issues.apache.org/jira/browse/OWB-434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12896471#action_12896471
 ] 

Mark Struberg commented on OWB-434:
-----------------------------------

latest tomcat6 sometimes shows the following in the log:

SCHWERWIEGEND: A web application created a ThreadLocal with key of type 
[java.lang.ThreadLocal] (value [java.lang.threadlo...@17525fa]) and
a value of type [org.apache.webbeans.context.SingletonContext] (value 
[org.apache.webbeans.context.singletoncont...@1041dc]) but failed to r
emove it when the web application was stopped. To prevent a memory leak, the 
ThreadLocal has been forcibly removed.


> ThreadLocal<SingletonContext> doen't get cleaned up
> ---------------------------------------------------
>
>                 Key: OWB-434
>                 URL: https://issues.apache.org/jira/browse/OWB-434
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Context and Scopes
>    Affects Versions: 1.0.0-alpha-1
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 1.0.0-alpha-2
>
>
> We currently store the active SingletonContext for each thread in a 
> ThreadLocal.
> We must cleanup this ThreadLocal at the end of each request!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to