GitHub user nilsschmidthamburg opened a pull request:

    https://github.com/apache/wicket/pull/167

    Enable DeltaManager to replicate PageTable in Sessions

     - When using Tomcats o.a.c.h.t.SimpleTCPCluster to replicate Sessions
       in a Tomcat cluster the o.a.c.h.s.DeltaSession is the default
       implementation which handles session replication
     - Unfortunately, to calculate its deltas, it assumes that session
       attributes are only modified by calling accessor methods (i.e.
       DeltaSession.setAttribute(n,v))
     - Modifying an existing Object (e.g. wicket's PageTable) in place of
       the current session, would not trigger a delta replication
     - To make Wicket work with SimpleTCPCluster and DeltaSessions, we will
       always rewrite the PageTable into Session by calling setAttribute

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/nilsschmidthamburg/wicket 
tomcat_clustering_compatibility

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/wicket/pull/167.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #167
    
----
commit a3f42ce10d87c182136a8013a7f7bfce0f1cca07
Author: Nils Schmidt <[email protected]>
Date:   2016-04-19T06:42:15Z

    Enable DeltaManager to replicate PageTable in Sessions
    
     - When using Tomcats o.a.c.h.t.SimpleTCPCluster to replicate Sessions
       in a Tomcat cluster the o.a.c.h.s.DeltaSession is the default
       implementation which handles session replication
     - Unfortunately, to calculate its deltas, it assumes that session
       attributes are only modified by calling accessor methods (i.e.
       DeltaSession.setAttribute(n,v))
     - Modifying an existing Object (e.g. wicket's PageTable) in place of
       the current session, would not trigger a delta replication
     - To make Wicket work with SimpleTCPCluster and DeltaSessions, we will
       always rewrite the PageTable into Session by calling setAttribute

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to