[ 
https://issues.apache.org/jira/browse/OWB-173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gurkan Erdogdu closed OWB-173.
------------------------------

       Resolution: Fixed
    Fix Version/s: M4

Actually JSR-299 does not define how to use Singleton scoped because it is not 
defined as Normal scoped type. But I have updated implementation that each 
servlet context owns its singleton context as you indicated.

> Singleton context is not set as ThreadLocal on every request
> ------------------------------------------------------------
>
>                 Key: OWB-173
>                 URL: https://issues.apache.org/jira/browse/OWB-173
>             Project: OpenWebBeans
>          Issue Type: Bug
>            Reporter: Sven Linstaedt
>            Assignee: Gurkan Erdogdu
>             Fix For: M4
>
>
> THe Singleton context exists similar to the ApplicationContext as a 
> ThreadLocal. But unlike the last, it is not set on the ThreadLocal on every 
> request, resulting in Singleton beans not being available.
> Solution:
> reinitialize singleton context like it is done with the application context 
> in ContextFactory.initRequestContext():112

-- 
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