404.jsp cause ClientAbortException on Tomcat

  • 2009-09-29 11:29:10,425 [http-443-Processor23] WARN org.apache.catalina.core.ContainerBase.[Catalina].[localhost] - Exception Processing ErrorPage[errorCode=404, location=/error/notfound.jsp] 
  • ClientAbortException: javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: java.net.SocketException: Connection reset by peer: socket write error 
  • at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:366) 
  • ... 
  • Caused by: javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: java.net.SocketException: Connection reset by peer: socket write error 
  • ... 
  • Caused by: javax.net.ssl.SSLException: java.net.SocketException: Connection reset by peer: socket write error 
  • at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source) 
  • ... 
  • Caused by: java.net.SocketException: Connection reset by peer: socket write error 
  • ... 
error page to return before outputing anything if the requested resource isn't a .jsp file.
  • <%@ page isErrorPage="true" %> 
  • <% if (pageContext.getErrorData().getRequestURI().matches(".*\\.(jpg|jpeg|png|gif|css|js)($|\\?)"))  
  • return; %> 

评论

此博客中的热门博文

Nu förbjuder Kina handel med elfenben

Fader av pingyins

Kineserna vill köpa Volvos kompetens