Dmitry Volkov created TOMEE-731:
-----------------------------------

             Summary: CDI beans replication does not work
                 Key: TOMEE-731
                 URL: https://issues.apache.org/jira/browse/TOMEE-731
             Project: TomEE
          Issue Type: Bug
    Affects Versions: 1.5.2
         Environment: Windows 7, apache + mod_jk
            Reporter: Dmitry Volkov


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

Reply via email to