oh no, complexity creeping back in??? no sub partitions, please, I still don't get what they do.
marcf |-----Original Message----- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Sacha |Labourey |Sent: Friday, March 01, 2002 4:36 AM |To: [EMAIL PROTECTED] |Subject: [JBoss-dev] CVS update: |jbossmx/src/main/org/jboss/ha/framework/server HAPartitionImpl.java | | | User: slaboure | Date: 02/03/01 04:35:30 | | Modified: src/main/org/jboss/ha/framework/server HAPartitionImpl.java | Log: | Unbind in NonSerializableFactory was not performed at service shutdown | | Revision Changes Path | 1.17 +6 -2 |jbossmx/src/main/org/jboss/ha/framework/server/HAPartitionImpl.java | | Index: HAPartitionImpl.java | =================================================================== | RCS file: |/cvsroot/jboss/jbossmx/src/main/org/jboss/ha/framework/server/HAPar |titionImpl.java,v | retrieving revision 1.16 | retrieving revision 1.17 | diff -u -r1.16 -r1.17 | --- HAPartitionImpl.java 17 Feb 2002 03:34:27 -0000 1.16 | +++ HAPartitionImpl.java 1 Mar 2002 12:35:29 -0000 1.17 | @@ -33,7 +33,7 @@ | * | * @author <a href="mailto:[EMAIL PROTECTED]">Sacha |Labourey</a>. | * @author <a href="mailto:[EMAIL PROTECTED]">Bill Burke</a>. | - * @version $Revision: 1.16 $ | + * @version $Revision: 1.17 $ | * | * <p><b>Revisions:</b><br> | */ | @@ -179,13 +179,17 @@ | log.error("operation failed", e); | } | | + String boundName = "/HAPartition/" + partitionName; | + | InitialContext ctx = new InitialContext(); | try { | - ctx.unbind("/HAPartition/" + partitionName); | + | + ctx.unbind(boundName); | } | finally { | ctx.close(); | } | + NonSerializableFactory.unbind (boundName); | | log.info("Partition " + partitionName + " closed."); | } | | | | |_______________________________________________ |Jboss-development mailing list |[EMAIL PROTECTED] |https://lists.sourceforge.net/lists/listinfo/jboss-development _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development