You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2010/08/11 23:17:39 UTC
[jira] Resolved: (OWB-436) AbstractContext bean instance creation
is not thread safe
[ https://issues.apache.org/jira/browse/OWB-436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Struberg resolved OWB-436.
-------------------------------
Resolution: Fixed
> AbstractContext bean instance creation is not thread safe
> ---------------------------------------------------------
>
> Key: OWB-436
> URL: https://issues.apache.org/jira/browse/OWB-436
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Context and Scopes
> Affects Versions: 1.0.0-alpha-1
> Reporter: Mark Struberg
> Assignee: Mark Struberg
> Priority: Blocker
> Fix For: 1.0.0-alpha-2
>
>
> Our code which triggers the creation of contextual instances in AbstractContext is not thread safe.
> This first did hit me while starting a Web Server while running under full request load. This did lead to 40 parallel threads trying to startup my @ApplicationScoped services. A few of those services do some logic in @PostConstruct and therefore take some time, which resulted in creating those @ApplicationScoped beans multiple times!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.