[
https://issues.apache.org/jira/browse/OWB-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12886638#action_12886638
]
Mark Struberg commented on OWB-404:
-----------------------------------
The problem was that this static maps got accessed via public static methods
and not via WebBeansFinder.
And since webbeans-impl in my setup resides in the SharedClassLoader (resp
tomcat common/lib StandardClassLoader), all WebAppClassCloaders really got the
same instance of this maps.
> Contexts must not get stored in a static Map in BeanManager
> -----------------------------------------------------------
>
> Key: OWB-404
> URL: https://issues.apache.org/jira/browse/OWB-404
> 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
>
>
> our BeanManager has a static contextMap. This is broken if OWB gets used in a
> shared ClassLoader scenario like geronimo or any other EE server
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.