The clustering documentation says that the useDirtyFlag can be used to
configure the number of session replications.  If I remember correctly,
this is only true for the SimpleTcpReplicationManager.  I did a quick
search through the DeltaManager code and verified that the useDirtyFlag
is indeed not being used (5.5.15)

My question then:
 Is the useDirtyFlag obsolete with DeltaManager?
     e.g.  Is this session replicated with DeltaManager?
   
        Hashtable map = (Hashtable)session.getAttribute ( "map" );
        map.put ( "something", "val" );


Last time I visited this issue (5.5.9 or so), The DeltaManager did not
work in the above case and I had to switch to
SimpleTcpReplicationManager and set useDirtyFlag to false.  If that is
still the case, it seems strange that the sample server.xml with the
download still has this...

==SNIP==
 <Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
                
managerClassName="org.apache.catalina.cluster.session.DeltaManager"
                 expireSessionsOnShutdown="false"
                 useDirtyFlag="true"
                 notifyListenersOnReplication="true">
==SNIP==

Thoughts?

-Dennis


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to