tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fha...@apache.org
Subject svn commit: r397897 - in /tomcat/container/tc5.5.x/modules/groupcom: ./ src/share/org/apache/catalina/tribes/membership/ src/share/org/apache/catalina/tribes/transport/nio/
Date Fri, 28 Apr 2006 13:36:53 GMT
Author: fhanik
Date: Fri Apr 28 06:36:49 2006
New Revision: 397897

URL: http://svn.apache.org/viewcvs?rev=397897&view=rev
Log:
Fixed to support 1.4

Modified:
    tomcat/container/tc5.5.x/modules/groupcom/VERSION
    tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/membership/McastService.java
    tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/membership/MemberImpl.java
    tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/transport/nio/PooledParallelSender.java

Modified: tomcat/container/tc5.5.x/modules/groupcom/VERSION
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/VERSION?rev=397897&r1=397896&r2=397897&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/modules/groupcom/VERSION (original)
+++ tomcat/container/tc5.5.x/modules/groupcom/VERSION Fri Apr 28 06:36:49 2006
@@ -1 +1 @@
-0.9.1
+0.9.1.1

Modified: tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/membership/McastService.java
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/membership/McastService.java?rev=397897&r1=397896&r2=397897&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/membership/McastService.java
(original)
+++ tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/membership/McastService.java
Fri Apr 28 06:36:49 2006
@@ -17,7 +17,6 @@
 package org.apache.catalina.tribes.membership;
 
 import java.util.Properties;
-import javax.management.ObjectName;
 
 import org.apache.catalina.tribes.Member;
 import org.apache.catalina.tribes.MembershipListener;

Modified: tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/membership/MemberImpl.java
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/membership/MemberImpl.java?rev=397897&r1=397896&r2=397897&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/membership/MemberImpl.java
(original)
+++ tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/membership/MemberImpl.java
Fri Apr 28 06:36:49 2006
@@ -482,20 +482,4 @@
         out.write(data);
     }
     
-    public static void main(String[] args) throws Exception {
-        //String host = "127.0.0.1";
-        String host = "1080:0:0:0:8:800:200C:417A";
-        MemberImpl impl = new MemberImpl("domain",host,4444,10000);
-        byte[] data = impl.getData(false);
-        data = impl.getData(false);
-        MemberImpl newimpl = new MemberImpl();
-        MemberImpl.getMember(data,newimpl);
-        byte[] newdata = newimpl.getData(false);
-        System.out.println("Impl:"+impl);
-        System.out.println("NewI:"+newimpl);
-        System.out.println("byte comparison:"+Arrays.equals(data,newdata));
-        System.out.println("byte old:"+Arrays.toString(data));
-        System.out.println("byte new:"+Arrays.toString(newdata));
-    }
-
 }

Modified: tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/transport/nio/PooledParallelSender.java
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/transport/nio/PooledParallelSender.java?rev=397897&r1=397896&r2=397897&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/transport/nio/PooledParallelSender.java
(original)
+++ tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/transport/nio/PooledParallelSender.java
Fri Apr 28 06:36:49 2006
@@ -62,7 +62,7 @@
             sender.setTxBufSize(getTxBufSize());
             return sender;
         } catch ( IOException x ) {
-            throw new IllegalStateException("Unable to open NIO selector.",x);
+            throw new RuntimeException("Unable to open NIO selector.",x);
         }
     }
     



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message