[jboss-cvs] JBossAS SVN: r61296 - trunk/cluster/src/main/org/jboss/ha/framework/server.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Mar 13 11:34:31 EDT 2007


Author: jerrygauth
Date: 2007-03-13 11:34:31 -0400 (Tue, 13 Mar 2007)
New Revision: 61296

Modified:
   trunk/cluster/src/main/org/jboss/ha/framework/server/ClusterPartition.java
Log:
JBAS-3515, streaming state transfer

Modified: trunk/cluster/src/main/org/jboss/ha/framework/server/ClusterPartition.java
===================================================================
--- trunk/cluster/src/main/org/jboss/ha/framework/server/ClusterPartition.java	2007-03-13 15:22:50 UTC (rev 61295)
+++ trunk/cluster/src/main/org/jboss/ha/framework/server/ClusterPartition.java	2007-03-13 15:34:31 UTC (rev 61296)
@@ -647,6 +647,15 @@
             log.debug("There is no stateHandler for: " + key);
          }      
       }
+      
+      try
+      {
+         stream.close();
+      }
+      catch(Exception e)
+      {
+         log.error("Caught exception closing serviceState stream", e);
+      }
 
       used_mem_after=rt.totalMemory() - rt.freeMemory();
       log.debug("received serviceState; expanded memory by " +




More information about the jboss-cvs-commits mailing list