=== modified file 'dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/interceptor/ExceptionInterceptor.java' --- dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/interceptor/ExceptionInterceptor.java 2010-05-26 14:45:10 +0000 +++ dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/interceptor/ExceptionInterceptor.java 2010-11-26 10:52:50 +0000 @@ -27,6 +27,7 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +import java.io.IOException; import java.util.HashMap; import java.util.Map; @@ -116,6 +117,12 @@ return EXCEPTION_RESULT_ACCESS_DENIED; // Access denied as nice page } + // HACK to get rid of useless stack traces when the client closes the connection in tomcat + if (e instanceof IOException && e.getClass().getName().equals("org.apache.catalina.connector.ClientAbortException") ) + { + LOG.info( "Client aborted connection." ); + } + LOG.error( "Error while executing action", e ); if ( exceptionResultName != null )