[jboss-jira] [JBoss JIRA] (WFLY-12136) Missing HttpSessionActivationListener callbacks when using ATTRIBUTE granularity and backing cache is non-transactional

Paul Ferraro (Jira) issues at jboss.org
Tue May 28 12:10:00 EDT 2019


Paul Ferraro created WFLY-12136:
-----------------------------------

             Summary: Missing HttpSessionActivationListener callbacks when using ATTRIBUTE granularity and backing cache is non-transactional
                 Key: WFLY-12136
                 URL: https://issues.jboss.org/browse/WFLY-12136
             Project: WildFly
          Issue Type: Bug
          Components: Clustering
    Affects Versions: 16.0.0.Final
            Reporter: Paul Ferraro
            Assignee: Paul Ferraro


When a web session attribute implements HttpSessionActivationListener, @PrePassivate needs to be invoked prior to serialization of the session attribute for replication (and @PostActivate needs to be invoked post-serialization in order to the state of the session attribute).  When using ATTRIBUTE granularity, and the backing cache is not transactional, intra-request calls to setAttribute(...) can trigger serialization of the session attribute, but are missing these callbacks.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list