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.