You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by na...@apache.org on 2006/05/13 06:12:21 UTC

svn commit: r406012 - in /webservices/axis/trunk/c/tests/utils/monitor/org/apache/test: ChildHandler.java ClientReturner.java ClientReturnerFactory.java ServerConnectionFactory.java TCPMonitor.java

Author: nadiramra
Date: Fri May 12 21:12:20 2006
New Revision: 406012

URL: http://svn.apache.org/viewcvs?rev=406012&view=rev
Log:
Suppress some debug messages from TCPMon. 

Modified:
    webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/ChildHandler.java
    webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/ClientReturner.java
    webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/ClientReturnerFactory.java
    webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/ServerConnectionFactory.java
    webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/TCPMonitor.java

Modified: webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/ChildHandler.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/ChildHandler.java?rev=406012&r1=406011&r2=406012&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/ChildHandler.java (original)
+++ webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/ChildHandler.java Fri May 12 21:12:20 2006
@@ -27,7 +27,7 @@
      */
     protected void close()
     {
-        System.out.println( "Closing "+this);
+        // System.out.println( "Closing "+this);
         try 
         {
             for(int i=0; i<children.size(); i++)
@@ -45,7 +45,7 @@
                 }                
             }
             children=null;
-            System.out.println( "Closed "+this);
+            // System.out.println( "Closed "+this);
         }
         catch (Throwable exception)
         {

Modified: webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/ClientReturner.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/ClientReturner.java?rev=406012&r1=406011&r2=406012&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/ClientReturner.java (original)
+++ webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/ClientReturner.java Fri May 12 21:12:20 2006
@@ -97,21 +97,17 @@
 
                 if (bytesRead!=-1)
                 {
-                    /*System.out.println("ClientReturner#run("+number
-                            +"): Writing to client: "
-                            +new String(readBuffer, 0, bytesRead));
-                            */
                     try
                     {
                         streamToClient.write(readBuffer, 0, bytesRead);
                         streamToClient.flush( );
 
                         TCPMonitor.getInstance( ).writeResponse(readBuffer,bytesRead);
-                        System.out.println("About to go around again");
+                        System.out.println("ClientReturner#run(): processed " + bytesRead + " bytes - about to go around again");
                     }
                     catch (IOException exception)
                     {
-                        System.err.println("IOException when writing server response back to client");
+                        System.err.println("ClientReturner#run(): IOException when writing server response back to client");
                         exception.printStackTrace(System.err);
                         
                         // the socket to client is broken, so stop.

Modified: webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/ClientReturnerFactory.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/ClientReturnerFactory.java?rev=406012&r1=406011&r2=406012&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/ClientReturnerFactory.java (original)
+++ webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/ClientReturnerFactory.java Fri May 12 21:12:20 2006
@@ -40,7 +40,7 @@
             // Set it to the default for Axis
             clientReturnerClass = ClientReturner.class;
         }
-        System.out.println( "client returner class = "+clientReturnerClass);
+        //System.out.println( "client returner class = "+clientReturnerClass);
         
         Class[] constructorArgs = new Class[3];
         constructorArgs[0] = clientSocket.getClass();

Modified: webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/ServerConnectionFactory.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/ServerConnectionFactory.java?rev=406012&r1=406011&r2=406012&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/ServerConnectionFactory.java (original)
+++ webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/ServerConnectionFactory.java Fri May 12 21:12:20 2006
@@ -41,7 +41,7 @@
             // Set it to the default for Axis
             serverConnectionClass = TestClientThread.class;
         }
-        System.out.println( "Server connection class = "+serverConnectionClass);
+        //System.out.println( "Server connection class = "+serverConnectionClass);
         
         Class[] constructorArgs = new Class[3];
         constructorArgs[0] = clientSocket.getClass();

Modified: webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/TCPMonitor.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/TCPMonitor.java?rev=406012&r1=406011&r2=406012&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/TCPMonitor.java (original)
+++ webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/TCPMonitor.java Fri May 12 21:12:20 2006
@@ -239,9 +239,9 @@
         {
             exception.printStackTrace(System.err);
         }
-        System.out.println( "About to call super.close");
+        // System.out.println( "About to call super.close");
         super.close();
-        System.out.println( "called super.close");
+        // System.out.println( "called super.close");
         state = CLOSED_STATE;
     }