[jboss-jira] [JBoss JIRA] (AS7-4726) CDI beans in clusterbench are not replicating

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Mon May 7 19:35:17 EDT 2012


    [ https://issues.jboss.org/browse/AS7-4726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12690948#comment-12690948 ] 

Stuart Douglas commented on AS7-4726:
-------------------------------------

Weld does not appear to be calling setAttribute correctly, if you change replication-trigger from SET to SET_AND_NON_PRIMITIVE_GET it works fine.

Looking at the weld code I don't think it is practical to fix this for EAP6 timeframe, but I will investigate further. 
                
> CDI beans in clusterbench are not replicating
> ---------------------------------------------
>
>                 Key: AS7-4726
>                 URL: https://issues.jboss.org/browse/AS7-4726
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: CDI / Weld, Clustering
>    Affects Versions: 7.1.1.Final
>            Reporter: Radoslav Husar
>            Assignee: Stuart Douglas
>             Fix For: 7.1.2.Final (EAP)
>
>
> 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/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list