[
https://issues.apache.org/jira/browse/OWB-1137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15406011#comment-15406011
]
Tim Guendel commented on OWB-1137:
----------------------------------
I created a new project to test it, and the SessionScope works (on both 1.7.4
and 7.0.1). I now need to find out what is wrong with my current project in
order to fix it. I am using the same classes, in one case the SessionScope
works and the bean is shared, and in the other case there a new instance of the
injected bean is created. I am very confused as to what coule be the case.
More details here:
http://stackoverflow.com/questions/38661685/sessionscoped-cdi-bean-is-a-different-instance-when-injected
As to Romain's questions:
Wrong @SessionScoped (JSF one instead of CDI?) ->
javax.enterprise.context.SessionScoped;
Wrong "container" (spring?) -> No
Custom setup breaking container one (custom OWB listeners in web.xml for
instance, custom JSF setup, ...)? -> Nothing of the sort
I know this is out of scope for this thread, but any help is appreciated.
> SessionScoped CDI bean is not updated when injected in a HttpServlet
> --------------------------------------------------------------------
>
> Key: OWB-1137
> URL: https://issues.apache.org/jira/browse/OWB-1137
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Injection and Lookup
> Reporter: Tim Guendel
>
> The problem is described here:
> http://stackoverflow.com/questions/38661685/cdi-bean-is-not-updated-when-injected-in-a-servlet
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)