[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-cvs-commits
Subject:    [jboss-cvs] jbossmx/src/main/org/jboss/ha/framework/server HAPartitionImpl.java
From:       Sacha Labourey <slaboure () users ! sourceforge ! net>
Date:       2003-08-31 8:57:12
[Download RAW message or body]

  User: slaboure
  Date: 03/08/31 01:57:12

  Modified:    src/main/org/jboss/ha/framework/server Tag: Branch_3_2
                        HAPartitionImpl.java
  Log:
  Additional check for JG protocol compatibility with JBoss
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.20.2.12 +6 -1      \
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/HAPartitionImpl.java,v
  retrieving revision 1.20.2.11
  retrieving revision 1.20.2.12
  diff -u -r1.20.2.11 -r1.20.2.12
  --- HAPartitionImpl.java	20 Aug 2003 21:11:51 -0000	1.20.2.11
  +++ HAPartitionImpl.java	31 Aug 2003 08:57:11 -0000	1.20.2.12
  @@ -50,7 +50,7 @@
    * @author <a href="mailto:sacha.labourey@cogito-info.ch">Sacha Labourey</a>.
    * @author <a href="mailto:bill@burkecentral.com">Bill Burke</a>.
    * @author Scott.Stark@jboss.org
  - * @version $Revision: 1.20.2.11 $
  + * @version $Revision: 1.20.2.12 $
    *
    * <p><b>Revisions:</b><br>
    */
  @@ -737,6 +737,11 @@
      protected void verifyNodeIsUnique (Vector javaGroupIpAddresses) throws \
Exception  {
         byte[] localUniqueName = this.localJGAddress.getAdditionalData();
  +      if (localUniqueName == null)
  +         log.warn("No additional information has been found in the JavaGroup \
address: " +  +                  "make sure you are running with a correct version of \
JavaGroups and that the protocol " +  +                  " you are using supports the \
'additionalData' behaviour");  +
         for (int i = 0; i < javaGroupIpAddresses.size(); i++)
         {
            org.javagroups.stack.IpAddress address = (org.javagroups.stack.IpAddress) \
javaGroupIpAddresses.elementAt(i);  
  
  


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
jboss-cvs-commits mailing list
jboss-cvs-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-cvs-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic