axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From az...@apache.org
Subject svn commit: r614811 - in /webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/tribes: TribesClusterManager.java TribesUtil.java
Date Thu, 24 Jan 2008 07:26:32 GMT
Author: azeez
Date: Wed Jan 23 23:26:30 2008
New Revision: 614811

URL: http://svn.apache.org/viewvc?rev=614811&view=rev
Log:
Do not do memeber.getName()


Modified:
    webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/tribes/TribesClusterManager.java
    webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/tribes/TribesUtil.java

Modified: webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/tribes/TribesClusterManager.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/tribes/TribesClusterManager.java?rev=614811&r1=614810&r2=614811&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/tribes/TribesClusterManager.java
(original)
+++ webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/tribes/TribesClusterManager.java
Wed Jan 23 23:26:30 2008
@@ -48,11 +48,11 @@
 import org.apache.catalina.tribes.group.Response;
 import org.apache.catalina.tribes.group.RpcChannel;
 import org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor;
-import org.apache.catalina.tribes.group.interceptors.TcpFailureDetector;
 import org.apache.catalina.tribes.group.interceptors.OrderInterceptor;
+import org.apache.catalina.tribes.group.interceptors.TcpFailureDetector;
+import org.apache.catalina.tribes.transport.MultiPointSender;
 import org.apache.catalina.tribes.transport.ReceiverBase;
 import org.apache.catalina.tribes.transport.ReplicationTransmitter;
-import org.apache.catalina.tribes.transport.MultiPointSender;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 
@@ -224,7 +224,7 @@
 
         // RpcChannel is a ChannelListener. When the reply to a particular request comes
back, it
         // picks it up. Each RPC is given a UUID, hence can correlate the request-response
pair
-        RpcChannel rpcChannel =
+        rpcChannel =
                 new RpcChannel(domain, channel,
                                new InitializationRequestHandler(controlCmdProcessor));
 
@@ -276,7 +276,7 @@
                             membershipManager.getLongestLivingMember() : // First try to
get from the longest member alive
                             membershipManager.getRandomMember(); // Else get from a random
member
             String memberHost = TribesUtil.getHost(member);
-            log.info("Trying to send to : [" + member.getName() + "][" + memberHost + "]");
+            log.info("Trying to send intialization request to " + memberHost);
             try {
                 if (!sentMembersList.contains(memberHost)) {
                     Response[] responses = rpcChannel.send(new Member[]{member},

Modified: webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/tribes/TribesUtil.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/tribes/TribesUtil.java?rev=614811&r1=614810&r2=614811&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/tribes/TribesUtil.java
(original)
+++ webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/tribes/TribesUtil.java
Wed Jan 23 23:26:30 2008
@@ -50,7 +50,7 @@
             for (int i = 0; i < hostBytes.length; i++) {
                 int hostByte = hostBytes[i] >= 0 ? (int) hostBytes[i] : (int) hostBytes[i]
+ 256;
                 host.append(hostByte);
-                if(i < hostBytes.length-1) {
+                if (i < hostBytes.length - 1) {
                     host.append(".");
                 }
             }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message