I've been working with a cluster of tomcat servers and wanted to change
the useDirtyFlag to false so that the session is replicated after every
request whether or not it was changed.

Here is my modified server.xml fragment:
---CUT---
<Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
                
managerClassName="org.apache.catalina.cluster.session.DeltaManager"
                 expireSessionsOnShutdown="false"
                 useDirtyFlag="false"
---END CUT---

After restarting the servers in the cluster, I noticed that the behavior
was the same as with the flag set to true.  Objects in the session
quickly become out of sync across the multiple servers because they are
getting modifed but setAttribute is not being called.

I searched around google and the mail archive a bit but didn't find any
references to people having trouble with this.  Before I started digging
in the clustering code, I thought I'd see if anyone has any idea as to
whether or not I have the correct expectation of the useDirtyFlag or if
there might be some other problem.

I'm using Tomcat 5.5.9.

Thanks
Dennis

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

Reply via email to