You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Alexander Schwartz <al...@gmx.net> on 2004/10/17 00:59:49 UTC
DeltaManager not supporting useDirtyFlag=false, suggesting
safety-improved DeltaManager
Hi,
like Filip state on tomcat-user some time ago that DeltaManager doesn't
support the useDirtyFlag=false attribute.
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg136306.html
I didn't find any documentation so I suggest (a) better documentation of
this fact, i.e. in server.xml, and (b) throwing an exception whenever
someone tries to use useDirtyFlag=false on DeltaManager, i.e. like this
in DeltaManager.java:
------------------------------------------------------------
public void setUseDirtyFlag(boolean useDirtyFlag) {
if(useDirtyFlag == false) {
throw new IllegalArgumentException("DeltaManager only
supports useDirtyFlag = true (yet). Maybe use
SimpleTcpReplicationManager instead.");
}
this.useDirtyFlag = useDirtyFlag;
}
------------------------------------------------------------
Alex.
--
Alexander Schwartz (alexander.schwartz@gmx.net)
http://www.ahus1.de
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org