fhanik 2003/10/14 14:58:52 Modified: modules/cluster/src/share/org/apache/catalina/cluster/session SimpleTcpReplicationManager.java Log: if not distributable, make it act like the standard manager Revision Changes Path 1.12 +13 -5 jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/session/SimpleTcpReplicationManager.java Index: SimpleTcpReplicationManager.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/session/SimpleTcpReplicationManager.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- SimpleTcpReplicationManager.java 14 Oct 2003 21:53:28 -0000 1.11 +++ SimpleTcpReplicationManager.java 14 Oct 2003 21:58:52 -0000 1.12 @@ -197,8 +197,16 @@ /** * Override persistence since they don't go hand in hand with replication for now. */ - public void unload() throws IOException {} - public void load() throws ClassNotFoundException, IOException {} + public void unload() throws IOException { + if ( !getDistributable() ) { + super.unload(); + } + } + public void load() throws ClassNotFoundException, IOException { + if ( !getDistributable() ) { + super.load(); + } + } public int getDebug() { return this.debug;
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]