axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r332062 - /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPWorker.java
Date Wed, 09 Nov 2005 15:07:51 GMT
Author: dims
Date: Wed Nov  9 07:07:49 2005
New Revision: 332062

URL: http://svn.apache.org/viewcvs?rev=332062&view=rev
Log:
shift the deck chairs :)


Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPWorker.java

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPWorker.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPWorker.java?rev=332062&r1=332061&r2=332062&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPWorker.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPWorker.java
Wed Nov  9 07:07:49 2005
@@ -169,8 +169,9 @@
                     baos.toByteArray().length);
             conn.writeResponse(response);
         } catch (Throwable e) {
-            e.printStackTrace();
-            log.info(e.getMessage(), e);
+            if(!(e instanceof java.net.SocketException)) {
+                log.warn(e.getMessage(), e);
+            }
             try {
                 AxisEngine engine = new AxisEngine(configurationContext);
                 if (msgContext != null) {
@@ -183,7 +184,7 @@
                     conn.writeResponse(response);
                 } 
             } catch (Exception e1) {
-                log.info(e1.getMessage(), e1);
+                log.warn(e1.getMessage(), e1);
             }
         }
         return true;



Mime
View raw message