Details
Description
Step to reproduce:
1. Startup a tomcat with myfaces-example-simple-1.1.6.war
2. Open a IE6 (The issue can not be reproduced in Firefox), input http://localhost:8080/myfaces-example-simple-1.1.6/calendar.jsf
3. Click the button for popupping Calendar, (Warning: only the first click will throw the error)
4. See the tomcat console, you will find the error message, see below:
Error while serving resource: calendar.HtmlCalendarRenderer/DB/drop1.gif,
essage : null
lientAbortException: java.net.SocketException: Connection reset by peer: socke
write error
at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:
19)
at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:28
)
at org.apache.catalina.connector.Response.flushBuffer(Response.java:542)
at org.apache.catalina.connector.ResponseFacade.flushBuffer(ResponseFaca
e.java:279)
at org.apache.myfaces.renderkit.html.util.DefaultAddResource.serveResour
e(DefaultAddResource.java:608)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(Extensions
ilter.java:128)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
cationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
lterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
lve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
lve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
va:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
va:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
e.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
:263)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
s(Http11Protocol.java:584)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
)
at java.lang.Thread.run(Thread.java:619)
aused by: java.net.SocketException: Connection reset by peer: socket write erro
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(Internal
utputBuffer.java:737)
at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)
at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuf
er.java:299)
at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:
63)
at org.apache.coyote.Response.action(Response.java:183)
at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:
14)
... 17 more
008-2-8 16:41:36 org.apache.myfaces.webapp.filter.ExtensionsFilter doFilter
严重: Exception wile retrieving addResource
ava.lang.IllegalStateException
at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade
java:421)
at org.apache.myfaces.renderkit.html.util.DefaultAddResource.serveResour
e(DefaultAddResource.java:631)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(Extensions
ilter.java:128)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
cationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
lterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
lve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
lve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
va:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
va:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
e.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
:263)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
s(Http11Protocol.java:584)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
)
at java.lang.Thread.run(Thread.java:619)
008-2-8 16:41:57 org.apache.myfaces.examples.calendarexample.CalendarBean submi
Method
信息: submit method called
008-2-8 16:46:36 org.apache.myfaces.examples.calendarexample.CalendarBean submi
Method
信息: submit method called
008-2-8 16:46:47 org.apache.myfaces.examples.calendarexample.CalendarBean submi
Method
信息: submit method called