Bug 1150079

Summary: CDI SessionScoped bean not getting clustered
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Vimal Kansal <vkansal>
Component: CDI/WeldAssignee: Stuart Douglas <sdouglas>
Status: CLOSED DUPLICATE QA Contact: Ron Šmeral <rsmeral>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: amelicha, jharting, maschmid, pmuir, vkansal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-07 15:25:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 900378    
Bug Blocks:    

Description Vimal Kansal 2014-10-07 12:03:09 UTC
Description of problem:


I am using EAP 6.3 (standalone-ha.xml) and I find that CDI SessionScoped beans are not replicable.


How reproducible:


Steps to Reproduce:
1. git clone https://github.com/clusterbench/clusterbench.git
2. In the clusterbench directory execute : mvn clean install -Pee6
3. it builds an ear file which when deployed registers a web application which can be accessed as http://localhost:8080/clusterbench. This will display few URL   : /session (HttpSession Replication) works perfectly fine. But /cdi (CDI SessionScoped Bean replication)  doesn't work.

Comment 1 Ron Šmeral 2014-10-07 14:27:45 UTC
This is a known issue, caused by https://bugzilla.redhat.com/show_bug.cgi?id=900378 - CDI beans with SET replication trigger are not replicating. The bug si 

If we set the replication-trigger in jboss-web.xml to SET_AND_NON_PRIMITIVE_GET, the replication works.

Comment 2 Ron Šmeral 2014-10-07 14:35:14 UTC
In case there's other problem than that described in #900378, please provide more information.

Otherwise, this should be closed as duplicate.

Comment 3 Vimal Kansal 2014-10-07 15:25:33 UTC

*** This bug has been marked as a duplicate of bug 900378 ***