axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepal Jayasinghe (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (AXIS2-746) Missing error explanations in AxisServlet
Date Mon, 29 May 2006 09:59:33 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-746?page=all ]

Deepal Jayasinghe reassigned AXIS2-746:
---------------------------------------

    Assign To: Deepal Jayasinghe

> Missing error explanations in AxisServlet
> -----------------------------------------
>
>          Key: AXIS2-746
>          URL: http://issues.apache.org/jira/browse/AXIS2-746
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Improvement

>   Components: core
>  Environment: Win2K Pro, JDK 1.4, Tomcat 5.5
>     Reporter: Ali Sadik Kumlali
>     Assignee: Deepal Jayasinghe

>
> catch block found in doPost method doesn't print the actual error but prints "org.apache.axis2.AxisFault".
>  
> In 405768 revision
> --------------------------
>         } catch (AxisFault e) {
>             log.debug(e);
>             if (msgContext != null) {
>                 try {
>                     res.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
>                     handleFault(msgContext, out, e);
>                 } catch (AxisFault e2) {
>                     log.info(e2);
>                 }
>             } else {
>                 throw new ServletException(e);
>             }
>         }
> Should be
> ---------------
>         } catch (AxisFault e) {
>             log.debug("bla bla", e); // or  log.debug(e.getMessage());
>             if (msgContext != null) {
>                 try {
>                     res.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
>                     handleFault(msgContext, out, e);
>                 } catch (AxisFault e2) {
>                     log.info("bla bla2",e2); // or log.info(e.getMessage());
>                 }
>             } else {
>                 throw new ServletException(e);
>             }
>         }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


Mime
View raw message