axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r383628 - /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/AxisServlet.java
Date Mon, 06 Mar 2006 19:15:29 GMT
Author: dims
Date: Mon Mar  6 11:15:26 2006
New Revision: 383628

URL: http://svn.apache.org/viewcvs?rev=383628&view=rev
Log:
log the fault when we are sending a fault

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

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/AxisServlet.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/AxisServlet.java?rev=383628&r1=383627&r2=383628&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/AxisServlet.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/AxisServlet.java
Mon Mar  6 11:15:26 2006
@@ -29,6 +29,8 @@
 import org.apache.axis2.engine.AxisEngine;
 import org.apache.axis2.engine.ListenerManager;
 import org.apache.axis2.transport.TransportListener;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
 
 import javax.servlet.ServletConfig;
 import javax.servlet.ServletContext;
@@ -49,6 +51,7 @@
  */
 public class AxisServlet extends HttpServlet implements TransportListener {
 
+    private Log log = LogFactory.getLog(getClass());
     private static final long serialVersionUID = -2085869393709833372L;
     public static final String CONFIGURATION_CONTEXT = "CONFIGURATION_CONTEXT";
     public static final String SESSION_ID = "SessionId";
@@ -169,7 +172,11 @@
             }
         } catch (AxisFault e) {
             if (msgContext != null) {
-                handleFault(msgContext, out, e);
+                try {
+                    handleFault(msgContext, out, e);
+                } catch (AxisFault e2) {
+                    log.info(e.getMessage());
+                }
             } else {
                 throw new ServletException(e);
             }



Mime
View raw message