[
https://issues.apache.org/jira/browse/OWB-1137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15403735#comment-15403735
]
Tim Guendel commented on OWB-1137:
----------------------------------
- The logger is produced like this (which works with TomEE 1.7.4):
public class LoggerProducer {
@Produces
public Logger produceLogger(InjectionPoint injectionPoint) {
return
Logger.getLogger(injectionPoint.getMember().getDeclaringClass().getName());
}
- I did what you said: "Logging the sessionId during the update should help
too". Here is what I did:
HttpSession session = (HttpSession) fc.getExternalContext().getSession(false);
System.out.println(session.getId());
It returns another SessionID as request.getSession().getId() in the servlet.
Are these supposed to be the same ?
> 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)