Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 900378 - (JBPAPP6-1326) CDI beans with SET replication trigger are not replicating
CDI beans with SET replication trigger are not replicating
Status: CLOSED WONTFIX
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Clustering (Show other bugs)
6.0.0
Unspecified Unspecified
low Severity low
: ---
: EAP 6.4.1
Assigned To: Paul Ferraro
Jitka Kozana
Russell Dickenson
http://jira.jboss.org/jira/browse/JBP...
eap6_clustering
: Documentation
: 1150079 (view as bug list)
Depends On:
Blocks: JBPAPP6-1422 1150079
  Show dependency treegraph
 
Reported: 2012-05-07 15:05 EDT by Radoslav Husar
Modified: 2015-05-28 05:26 EDT (History)
11 users (show)

See Also:
Fixed In Version:
Doc Type: Known Issue
Doc Text:
Due to a bug in the Weld component, the `setAttribute` method is not called correctly. This causes CDI beans with the `SET` replication trigger to fail to be replicated. The workaround is to use the `SET_AND_NON_PRIMITIVE_GET` trigger for these beans. This will be fixed in a future release.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-05-28 05:26:25 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
JBoss Issue Tracker JBPAPP6-1326 Major Closed CDI beans with SET replication trigger are not replicating 2018-06-01 01:31 EDT
JBoss Issue Tracker WELD-1130 Major Resolved Weld does not call setAttribute for modified conversation and session scoped beans 2018-06-01 01:31 EDT

  None (edit)
Description Radoslav Husar 2012-05-07 15:05:41 EDT
Affects: Release Notes
Workaround: Workaround Exists
Workaround Description: Use SET_AND_NON_PRIMITIVE_GET replication trigger (the default).
project_key: JBPAPP6

Please check if the use case is correct:

https://github.com/rhusar/clusterbench/blob/master/clusterbench-ee6-web/src/main/java/org/jboss/test/clusterbench/web/cdi/CdiServlet.java
https://github.com/rhusar/clusterbench/blob/master/clusterbench-ee6-web/src/main/java/org/jboss/test/clusterbench/web/cdi/SessionScopedCdiSerialBean.java

The methods are only called on the CDI-mananged bean, there is no interaction with the HTTP session itself. Should the replication trigger on the bean itself or is anything else required?

https://hudson.qa.jboss.com/hudson/job/eap-6x-failover-http-cdi-shutdown-repl-sync/2/
Comment 1 Rajesh Rajasekaran 2012-05-07 15:05:41 EDT
Link: Added: This issue Cloned from AS7-4726
Comment 2 Rajesh Rajasekaran 2012-05-07 15:06:24 EDT
Workflow: Removed: GIT Pull Request workflow  Added: jira
Security: Added: Public
Docs QE Status: Added: NEW
Comment 3 Rajesh Rajasekaran 2012-05-07 15:06:49 EDT
Labels: Removed: eap6_need_triage Added: eap6_clustering eap6_need_triage
Comment 4 Radoslav Husar 2012-05-08 15:21:19 EDT
Release Notes Docs Status: Added: Not Yet Documented
Comment 5 Rajesh Rajasekaran 2012-06-06 16:43:28 EDT
Link: Added: This issue is a dependency of JBPAPP-9290
Comment 6 Misty Stanley-Jones 2012-06-12 06:36:55 EDT
Release Notes Docs Status: Removed: Not Yet Documented Added: Documented as Known Issue
Release Notes Text: Added: Due to a bug in the Weld component, the <code>setAttribute</code> method is not called correctly. This causes CDI beans with the <code>SET</code> replication trigger to fail to be replicated. The workaround is to use the <code>SET_AND_NON_PRIMITIVE_GET</code> trigger for these beans. This will be fixed in a future release.
Affects: Added: Release Notes
Comment 7 Rajesh Rajasekaran 2012-07-11 15:36:26 EDT
Labels: Removed: eap6_clustering eap6_need_triage Added: eap601candidate eap6_clustering
Comment 8 Paul Ferraro 2012-08-09 16:17:58 EDT
Added workaround. Defer to EAP 6.1.
Comment 9 Paul Ferraro 2012-08-09 16:17:58 EDT
Workaround Description: Added: Use SET_AND_NON_PRIMITIVE_GET replication trigger (the default).
Workaround: Added: Workaround Exists
Comment 10 Dana Mison 2012-10-16 01:53:56 EDT
Writer: Added: mistysj
Comment 11 Dana Mison 2012-10-28 04:44:25 EDT
Release Notes Text: Removed: Due to a bug in the Weld component, the <code>setAttribute</code> method is not called correctly. This causes CDI beans with the <code>SET</code> replication trigger to fail to be replicated. The workaround is to use the <code>SET_AND_NON_PRIMITIVE_GET</code> trigger for these beans. This will be fixed in a future release. Added: Due to a bug in the Weld component, the `setAttribute` method is not called correctly. This causes CDI beans with the `SET` replication trigger to fail to be replicated. The workaround is to use the `SET_AND_NON_PRIMITIVE_GET` trigger for these beans. This will be fixed in a future release.
Comment 12 Anne-Louise Tangring 2012-11-13 15:54:53 EST
Release Notes Docs Status: Removed: Documented as Known Issue 
Writer: Removed: mistysj 
Release Notes Text: Removed: Due to a bug in the Weld component, the `setAttribute` method is not called correctly. This causes CDI beans with the `SET` replication trigger to fail to be replicated. The workaround is to use the `SET_AND_NON_PRIMITIVE_GET` trigger for these beans. This will be fixed in a future release. 
Docs QE Status: Removed: NEW 
Comment 14 Paul Ferraro 2013-08-30 12:12:47 EDT
This will be addressed by new web session clustering implementation scheduled for 6.3.
Comment 16 Paul Ferraro 2013-11-20 09:19:29 EST
I'm lowering the priority of this issue.  The SET replication trigger should only be used with care - so much that it won't exist in EAP7.  Nor is this the default behavior.
Comment 17 Paul Ferraro 2013-11-22 17:20:52 EST
Setting target release to EAP7.  replication-trigger will be removed in this release.
Comment 18 Radoslav Husar 2013-12-06 07:26:48 EST
Moving to documentation component: it should be permanently documented (as a note/warning/or so) that using Weld/CDI and having replication-trigger configured to SET is not supported in EAP 6.x releases.
Comment 20 Vimal Kansal 2014-10-07 11:25:33 EDT
*** Bug 1150079 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.