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

Mark Struberg commented on OWB-669:
-----------------------------------

Mea culpa, Thomas! Your change was indeed needed. I confused the eviction part 
(which I now cleaned up) with the restore logic. 
I've now applied your patch with some minor cleanup - again thanks a lot for 
helping!

Btw, Activating that stuff is still a big of a mess. What do you folks think 
about adding a JNDI configuration for enabling the FailOver. That way people 
would not need to have any openwebbeans.properties with 
"org.apache.webbeans.web.failover.issupportfailover=true" anymore, but could 
enable this via JNDI on the production tomcat.

The filter could automatically be installed in the openwebbeans-tomcat6 and 7 
ContextLifecycleListener via context.addFilterDef and context.addFilterMap.
                
> Bean fail over is not in sync with specs
> ----------------------------------------
>
>                 Key: OWB-669
>                 URL: https://issues.apache.org/jira/browse/OWB-669
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Context and Scopes, Simple Web Beans
>    Affects Versions: 1.1.3, 1.1.4
>         Environment: Tomcat 7.0.22+, Memcached Session Manager, OWB 1.1.3/4
>            Reporter: Thomas Andraschko
>            Assignee: Mark Struberg
>         Attachments: OWB-669.patch
>
>
> The current fail over logic is not in sync with the servlet specs as 
> discussed with mark:
> http://mail-archives.apache.org/mod_mbox/openwebbeans-dev/201204.mbox/%[email protected]%3E
> The fail over logic should be moved from the ServletRequestListener to an 
> Filter/Valve.

--
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

        

Reply via email to