You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Blevins (JIRA)" <ji...@apache.org> on 2013/04/06 12:19:25 UTC

[jira] [Updated] (TOMEE-731) CDI beans replication does not work

     [ https://issues.apache.org/jira/browse/TOMEE-731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Blevins updated TOMEE-731:
--------------------------------

    Fix Version/s:     (was: 1.6.0.beta1)
                   1.5.2
    
> CDI beans replication does not work
> -----------------------------------
>
>                 Key: TOMEE-731
>                 URL: https://issues.apache.org/jira/browse/TOMEE-731
>             Project: TomEE
>          Issue Type: Bug
>         Environment: Windows 7, apache + mod_jk
>            Reporter: Dmitry Volkov
>            Assignee: Romain Manni-Bucau
>             Fix For: 1.5.2
>
>
> CDI Beans are not replicated between cluster nodes. Properties of migrated beans are null after session migration. 
> mod_jk configuration: 
> worker.list=lb
> worker.lb.type=lb
> worker.lb.balance_workers=showcase_node1,showcase_node2
> worker.lb.mount//tomee_replication-1.0/*
> worker.showcase_node1.host=localhost
> worker.showcase_node1.port=10030
> worker.showcase_node2.host=localhost
> worker.showcase_node2.port=10040
> The issue can be reproducer with test application: https://github.com/eiskonzept/tomee
> Steps to reproduce:
> 1.Configure and start Apache 
> 2. Start two tomee instances: 
>     mvn clean package tomee:start -P node1
>     mvn clean package tomee:start -P node2
> 3. Open /tomee_replication-1.0/index.xhtml and remember current node
> 4. Submit some values. Values are saved in WindowScoped bean.
> 5. Stop current node
> 6. Reload page(without form submission)
> After session migration values of WindowScoped bean are null. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira