Intermittent bug with ApplicationScope disposers not being called
-----------------------------------------------------------------
Key: OWB-363
URL: https://issues.apache.org/jira/browse/OWB-363
Project: OpenWebBeans
Issue Type: Bug
Components: Context and Scopes
Affects Versions: M4
Reporter: Joe Bergmark
Assignee: Gurkan Erdogdu
Priority: Minor
While testing an application have seen an issue where disposers for application
scoped producer methods are not called. Took a quick peek at the
WebContextService, and I suspect the ThreadLocal may not be correct for the
thread that is handling the application stop.
It seems to me that we already have a 1:1 mapping of WebContextService (loaded
based on the classloader by WebBeansFinder) to the application, so we could
probably make the ApplicationContext field non-static and non-threadlocal.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.