openwebbeans-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OWB-646) Failover does not work (again)
Date Sun, 01 Apr 2012 07:12:29 GMT

    [ https://issues.apache.org/jira/browse/OWB-646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13243671#comment-13243671
] 

Mark Struberg commented on OWB-646:
-----------------------------------

A short note: if the requestDestroyed is too late, then you could also try the way I use:
a simple ServletFilter. I personally do not use the FailOverService at all but implemented
an easy solution which grabs the SessionContext via a ServletFilter which also synchronizes
on the Session (because of JPA).
                
> Failover does not work (again)
> ------------------------------
>
>                 Key: OWB-646
>                 URL: https://issues.apache.org/jira/browse/OWB-646
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Context and Scopes
>    Affects Versions: 1.1.3
>         Environment: Tomcat 7.0.22, OWB 1.1.3, memcached-session-manager 1.6.1
> Should be unrelated: MyFaces 2.1.6, CODI 1.0.3, ExtVal 2.0.5, Hibernate 3.6.9, BVAL 0.3
>            Reporter: Thomas Andraschko
>            Assignee: Mark Struberg
>              Labels: Cluster, Failover, Replication, Tomcat
>             Fix For: 1.1.4
>
>         Attachments: OWB-646.patch
>
>
> Martin (from msm) and I created an test app for this issue last year: https://github.com/magro/msm-sample-webapp/tree/openwebbeans
and this was fixed within OWB-523.
> However, if i upgrade the Tomcat to 7.0.22 or newer, the bean replication does not work
again.
> As you can see in this test app, the normal failover works (right input field) but the
bean failover (left input field) does not work.
> I tested several Tomcat version and 7.0.21 or older works without problems, so the problem
occured with Tomat 7.0.22.
> I don't know exactly if the problem is related to the OWB failover mechanism or Tomcat
:)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message