Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-17926

Failed to read resource from WebJar due to broken pipe

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 12.6.1
    • None
    • None
    • Unknown

    Description

      We use the xwiki:12.6.1-postgres-tomcat docker image

       

      Our log is covered with these errors:

      2020-10-11 07:39:25,379 [http-nio-8080-exec-101 - http://wiki.WEBSITE.de/webjars/wiki%3Axwiki/requirejs/2.3.6/require.min.js?r=1] ERROR ebJarsResourceReferenceHandler - Failed to read resource [requirejs/2.3.6/require.min.js] org.xwiki.resource.ResourceReferenceHandlerException: Failed to read resource [requirejs/2.3.6/require.min.js]}}{{ at org.xwiki.resource.servlet.AbstractServletResourceReferenceHandler.serveResource(AbstractServletResourceReferenceHandler.java:180)}}{{ at org.xwiki.resource.servlet.AbstractServletResourceReferenceHandler.handle(AbstractServletResourceReferenceHandler.java:85)}}{{ at org.xwiki.resource.internal.DefaultResourceReferenceHandlerChain.handleNext(DefaultResourceReferenceHandlerChain.java:79)}}{{ at org.xwiki.resource.internal.AbstractResourceReferenceHandlerManager.handle(AbstractResourceReferenceHandlerManager.java:82)}}{{ at org.xwiki.resource.servlet.ResourceReferenceHandlerServlet.handleResourceReference(ResourceReferenceHandlerServlet.java:159)}}{{ at org.xwiki.resource.servlet.ResourceReferenceHandlerServlet.service(ResourceReferenceHandlerServlet.java:87)}}{{ at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)}}{{ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)}}{{ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)}}{{ at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)}}{{ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)}}{{ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)}}{{ at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:713)}}{{ at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:462)}}{{ at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:355)}}{{ at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:315)}}{{ at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:145)}}{{ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)}}{{ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)}}{{ at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)}}{{ at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)}}{{ at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543)}}{{ at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)}}{{ at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)}}{{ at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690)}}{{ at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)}}{{ at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)}}{{ at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:615)}}{{ at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)}}{{ at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:818)}}{{ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1626)}}{{ at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)}}{{ at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)}}{{ at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)}}{{ at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)}}{{ at java.base/java.lang.Thread.run(Thread.java:834)}}{{Caused by: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe}}{{ at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:372)}}{{ at org.apache.catalina.connector.OutputBuffer.appendByteArray(OutputBuffer.java:811)}}{{ at org.apache.catalina.connector.OutputBuffer.append(OutputBuffer.java:740)}}{{ at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:407)}}{{ at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:385)}}{{ at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:96)}}{{ at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1128)}}{{ at org.apache.commons.io.IOUtils.copy(IOUtils.java:849)}}{{ at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1104)}}{{ at org.apache.commons.io.IOUtils.copy(IOUtils.java:825)}}{{ at org.xwiki.resource.servlet.AbstractServletResourceReferenceHandler.serveResource(AbstractServletResourceReferenceHandler.java:178)}}{{ ... 35 common frames omitted}}{{Caused by: java.io.IOException: Broken pipe}}{{ at java.base/sun.nio.ch.FileDispatcherImpl.write0(Native Method)}}{{ at java.base/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)}}{{ at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:113)}}{{ at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:79)}}{{ at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:50)}}{{ at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:466)}}{{ at org.apache.tomcat.util.net.NioChannel.write(NioChannel.java:136)}}{{ at org.apache.tomcat.util.net.NioBlockingSelector.write(NioBlockingSelector.java:101)}}{{ at org.apache.tomcat.util.net.NioSelectorPool.write(NioSelectorPool.java:157)}}{{ at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.doWrite(NioEndpoint.java:1311)}}{{ at org.apache.tomcat.util.net.SocketWrapperBase.doWrite(SocketWrapperBase.java:716)}}{{ at org.apache.tomcat.util.net.SocketWrapperBase.writeBlocking(SocketWrapperBase.java:536)}}{{ at org.apache.tomcat.util.net.SocketWrapperBase.write(SocketWrapperBase.java:480)}}{{ at org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.doWrite(Http11OutputBuffer.java:623)}}{{ at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:121)}}{{ at org.apache.coyote.http11.Http11OutputBuffer.doWrite(Http11OutputBuffer.java:225)}}{{ at org.apache.coyote.Response.doWrite(Response.java:600)}}{{ at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:360)}}{{ ... 45 common frames omitted
      
      or these
      
      2020-10-11 07:47:49,790 [http-nio-8080-exec-125 - http://wiki.cloud.agv-muenchen.de/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.49/plugins/emoji/emoji.json?t=K7DB] ERROR ebJarsResourceReferenceHandler - Failed to read resource [application-ckeditor-webjar/1.49/plugins/emoji/emoji.json] 
      org.xwiki.resource.ResourceReferenceHandlerException: Failed to read resource [application-ckeditor-webjar/1.49/plugins/emoji/emoji.json]
      	at org.xwiki.resource.servlet.AbstractServletResourceReferenceHandler.serveResource(AbstractServletResourceReferenceHandler.java:180)
      	at org.xwiki.resource.servlet.AbstractServletResourceReferenceHandler.handle(AbstractServletResourceReferenceHandler.java:85)
      	at org.xwiki.resource.internal.DefaultResourceReferenceHandlerChain.handleNext(DefaultResourceReferenceHandlerChain.java:79)
      	at org.xwiki.resource.internal.AbstractResourceReferenceHandlerManager.handle(AbstractResourceReferenceHandlerManager.java:82)
      	at org.xwiki.resource.servlet.ResourceReferenceHandlerServlet.handleResourceReference(ResourceReferenceHandlerServlet.java:159)
      	at org.xwiki.resource.servlet.ResourceReferenceHandlerServlet.service(ResourceReferenceHandlerServlet.java:87)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:713)
      	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:462)
      	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:355)
      	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:315)
      	at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:145)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
      	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690)
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
      	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:615)
      	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
      	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:818)
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1626)
      	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      	at java.base/java.lang.Thread.run(Thread.java:834)
      Caused by: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
      	at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:372)
      	at org.apache.catalina.connector.OutputBuffer.appendByteArray(OutputBuffer.java:811)
      	at org.apache.catalina.connector.OutputBuffer.append(OutputBuffer.java:740)
      	at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:407)
      	at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:385)
      	at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:96)
      	at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1128)
      	at org.apache.commons.io.IOUtils.copy(IOUtils.java:849)
      	at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1104)
      	at org.apache.commons.io.IOUtils.copy(IOUtils.java:825)
      	at org.xwiki.resource.servlet.AbstractServletResourceReferenceHandler.serveResource(AbstractServletResourceReferenceHandler.java:178)
      	... 35 common frames omitted
      Caused by: java.io.IOException: Broken pipe
      	at java.base/sun.nio.ch.FileDispatcherImpl.write0(Native Method)
      	at java.base/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
      	at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:113)
      	at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:79)
      	at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:50)
      	at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:466)
      	at org.apache.tomcat.util.net.NioChannel.write(NioChannel.java:136)
      	at org.apache.tomcat.util.net.NioBlockingSelector.write(NioBlockingSelector.java:101)
      	at org.apache.tomcat.util.net.NioSelectorPool.write(NioSelectorPool.java:157)
      	at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.doWrite(NioEndpoint.java:1311)
      	at org.apache.tomcat.util.net.SocketWrapperBase.doWrite(SocketWrapperBase.java:716)
      	at org.apache.tomcat.util.net.SocketWrapperBase.writeBlocking(SocketWrapperBase.java:536)
      	at org.apache.tomcat.util.net.SocketWrapperBase.write(SocketWrapperBase.java:480)
      	at org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.doWrite(Http11OutputBuffer.java:623)
      	at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:121)
      	at org.apache.coyote.http11.Http11OutputBuffer.doWrite(Http11OutputBuffer.java:225)
      	at org.apache.coyote.Response.doWrite(Response.java:600)
      	at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:360)
      	... 45 common frames omitted
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            michidk Michael Lohr
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: