ICEfaces-EE
  1. ICEfaces-EE
  2. IPCK-447

ee-accessible-showcase Exceptions in IE9/10

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Trivial Trivial
    • Resolution: Unresolved
    • Affects Version/s: EE-3.3.0.GA
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      ICEfaces-EE-3.3.0.GA Build8
      Tomcat7
      IE10 (May occur in other IE versions)
      ee-accessible-showcase
    • Workaround Exists:
      Yes
    • Workaround Description:
      Suggested workaround is configure the application logger to not log Warnings from com.sun.faces.application.resource.ResourceHandlerImpl.

      Description

      There are exceptions occurring when loading the application in IE10 with JS disabled, or when navigating to the various pages. This cannot be reproduced in Chrome or Firefox, or in IE10 when JS is enabled.

      Jun 11, 2013 11:26:15 AM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource
      WARNING: JSF1064: Unable to find or serve resource, icefaces-compat.js, from library, ice.compat.
      Jun 11, 2013 11:26:15 AM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource
      WARNING:
      ClientAbortException: java.net.SocketException: Software caused connection abort: socket write error
          at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:406)
          at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:480)
          at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:366)
          at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:431)
          at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:419)
          at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:91)
          at java.nio.channels.Channels$WritableByteChannelImpl.write(Channels.java:296)
          at com.sun.faces.application.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:283)
          at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125)
          at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125)
          at org.icefaces.impl.push.servlet.ICEpushResourceHandler$ICEpushResourceHandlerImpl.handleResourceRequest(ICEpushResourceHandler.java:241)
          at org.icefaces.impl.push.servlet.ICEpushResourceHandler.handleResourceRequest(ICEpushResourceHandler.java:128)
          at org.icefaces.impl.push.DynamicResourceDispatcher.handleResourceRequest(DynamicResourceDispatcher.java:78)
          at org.icefaces.application.ResourceRegistry.handleResourceRequest(ResourceRegistry.java:138)
          at org.icefaces.impl.application.WindowScopeManager.handleSessionAwareResourceRequest(WindowScopeManager.java:68)
          at org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.handleResourceRequest(SessionAwareResourceHandlerWrapper.java:40)
          at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125)
          at org.icefaces.impl.application.SessionTimeoutMonitor.handleSessionAwareResourceRequest(SessionTimeoutMonitor.java:71)
          at org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.handleResourceRequest(SessionAwareResourceHandlerWrapper.java:40)
          at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125)
          at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125)
          at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125)
          at org.icefaces.impl.application.AuxUploadResourceHandler.handleResourceRequest(AuxUploadResourceHandler.java:82)
          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:591)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
          at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
          at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
          at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
          at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
          at java.lang.Thread.run(Thread.java:662)
      Caused by: java.net.SocketException: Software caused connection abort: socket write error
          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(InternalOutputBuffer.java:215)
          at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:480)
          at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:366)
          at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:240)
          at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:119)
          at org.apache.coyote.http11.AbstractOutputBuffer.doWrite(AbstractOutputBuffer.java:192)
          at org.apache.coyote.Response.doWrite(Response.java:505)
          at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:401)
          ... 39 more
      Jun 11, 2013 11:26:15 AM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource
      WARNING: JSF1064: Unable to find or serve resource, bridge.js, from library, ice.core.
      Jun 11, 2013 11:26:15 AM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource
      WARNING:
      ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error
          at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:406)
          at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:480)
          at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:366)
          at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:431)
          at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:419)
          at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:91)
          at java.nio.channels.Channels$WritableByteChannelImpl.write(Channels.java:296)
          at com.sun.faces.application.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:283)
          at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125)
          at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125)
          at org.icefaces.impl.push.servlet.ICEpushResourceHandler$ICEpushResourceHandlerImpl.handleResourceRequest(ICEpushResourceHandler.java:241)
          at org.icefaces.impl.push.servlet.ICEpushResourceHandler.handleResourceRequest(ICEpushResourceHandler.java:128)
          at org.icefaces.impl.push.DynamicResourceDispatcher.handleResourceRequest(DynamicResourceDispatcher.java:78)
          at org.icefaces.application.ResourceRegistry.handleResourceRequest(ResourceRegistry.java:138)
          at org.icefaces.impl.application.WindowScopeManager.handleSessionAwareResourceRequest(WindowScopeManager.java:68)
          at org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.handleResourceRequest(SessionAwareResourceHandlerWrapper.java:40)
          at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125)
          at org.icefaces.impl.application.SessionTimeoutMonitor.handleSessionAwareResourceRequest(SessionTimeoutMonitor.java:71)
          at org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.handleResourceRequest(SessionAwareResourceHandlerWrapper.java:40)
          at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125)
          at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125)
          at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125)
          at org.icefaces.impl.application.AuxUploadResourceHandler.handleResourceRequest(AuxUploadResourceHandler.java:82)
          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:591)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
          at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
          at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
          at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
          at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
          at java.lang.Thread.run(Thread.java:662)
      Caused by: java.net.SocketException: Connection reset by peer: socket write error
          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(InternalOutputBuffer.java:215)
          at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:480)
          at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:366)
          at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:240)
          at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:119)
          at org.apache.coyote.http11.AbstractOutputBuffer.doWrite(AbstractOutputBuffer.java:192)
          at org.apache.coyote.Response.doWrite(Response.java:505)
          at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:401)
          ... 39 more

        Activity

        Cruz Miraback created issue -
        Hide
        Carmen Cristurean added a comment -

        This is still an issue with ICEfaces EE 3.3.0.GA Build 9, and it occurs also in IE9, but not in IE8.

        Show
        Carmen Cristurean added a comment - This is still an issue with ICEfaces EE 3.3.0.GA Build 9, and it occurs also in IE9, but not in IE8.
        Cruz Miraback made changes -
        Field Original Value New Value
        Summary ee-accessible-showcase Exceptions in IE10 ee-accessible-showcase Exceptions in IE9/10
        Hide
        Ted Goddard added a comment -

        It looks like IE is fetching scripts and then aborting them once it decides that it really is a script. Chrome is smarter in that it doesn't fetch any scripts when JavaScript is disabled.

        Show
        Ted Goddard added a comment - It looks like IE is fetching scripts and then aborting them once it decides that it really is a script. Chrome is smarter in that it doesn't fetch any scripts when JavaScript is disabled.
        Hide
        Ted Goddard added a comment -

        The Exception is logged here:

        com.sun.faces.application.resource.ResourceHandlerImpl.handleResourceRequest

        It should be possible to disable warnings from this class in the logger configuration.
        The best option would be not not include those JavaScript files in the page when JavaScript is disabled.

        Additionally, a bug could be filed with mojarra since a ClientAbortException should not be logged at a WARNING level.

        Show
        Ted Goddard added a comment - The Exception is logged here: com.sun.faces.application.resource.ResourceHandlerImpl.handleResourceRequest It should be possible to disable warnings from this class in the logger configuration. The best option would be not not include those JavaScript files in the page when JavaScript is disabled. Additionally, a bug could be filed with mojarra since a ClientAbortException should not be logged at a WARNING level.
        Ken Fyten made changes -
        Workaround Description Suggested workaround is configure the application logger to not log Warnings from com.sun.faces.application.resource.ResourceHandlerImpl.
        Fix Version/s EE-3.3.0.GA [ 10570 ]
        Workaround Exists Yes [ 10007 ]
        Ken Fyten made changes -
        Priority Major [ 3 ] Trivial [ 5 ]

          People

          • Assignee:
            Ken Fyten
            Reporter:
            Cruz Miraback
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: