[
https://issues.apache.org/jira/browse/OWB-523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13004513#comment-13004513
]
Martin Grotzke commented on OWB-523:
------------------------------------
Looks good, now the form is populated with the data from the session user.
The only thing that makes me wonder is that during "normal" operation (tomcat
is running, session is swapped out at end of request and swapped in at the
start of the request), the same instance of the SessionUser is used, so there's
no "????? create SessionUser" logged.
When I restart tomcat, "????? create SessionUser" is printed to stdout, so this
indicates that a new instance of the @SessionScoped bean is created. Without
knowing more about this I'd assume that this should not happen.
A minor thing I saw in FailOverBagWrapper is that you probably want to change
one line:
- if (failoverService != null && failoverService.isSupportFailOver() ||
failoverService.isSupportPassivation())
+ if (failoverService != null && (failoverService.isSupportFailOver() ||
failoverService.isSupportPassivation()))
> @SessionScoped bean failover does not work
> ------------------------------------------
>
> Key: OWB-523
> URL: https://issues.apache.org/jira/browse/OWB-523
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.0
> Environment: MyFaces 2.0.3, OWB 1.0.0, Tomcat 7.0.8,
> memcached-session-manager
> Reporter: Thomas Andraschko
> Assignee: Joe Bergmark
> Priority: Minor
>
> OWB failover for @SessionScoped beans does not work.
> A detailed description and a sample project can be found here:
> https://github.com/magro/msm-sample-webapp/tree/openwebbeans
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira