0 Replies Latest reply on Mar 18, 2014 7:08 AM by Christophe CARVALHO

    Jboss AS 7.1.3 Broken pipe

    Christophe CARVALHO Newbie

      Hi,

       

      In our web application, we often have the following issue :

       

      StackTrace : caused by : broken pipe
      java.net.SocketOutputStream.socketWrite0(Native Method)
      java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113)
      java.net.SocketOutputStream.write(SocketOutputStream.java:159)
      sun.security.ssl.OutputRecord.writeBuffer(OutputRecord.java:377)
      sun.security.ssl.OutputRecord.write(OutputRecord.java:363)
      sun.security.ssl.SSLSocketImpl.writeRecordInternal(SSLSocketImpl.java:830)
      sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:801)
      sun.security.ssl.AppOutputStream.write(AppOutputStream.java:122)
      org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:724)
      org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:354)
      org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:748)
      org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:118)
      org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:559)
      org.apache.coyote.Response.doWrite(Response.java:594)
      org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:398)
      org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:449)
      org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:342)
      org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:301)
      org.apache.catalina.connector.CoyoteOutputStream.close(CoyoteOutputStream.java:104)
      org.omnifaces.servlet.GzipHttpServletResponse$GzipThresholdOutputStream.close(GzipHttpServletResponse.java:229)
      org.omnifaces.io.ResettableBufferedOutputStream.close(ResettableBufferedOutputStream.java:101)
      org.omnifaces.servlet.HttpServletResponseOutputWrapper$1.close(HttpServletResponseOutputWrapper.java:100)
      java.nio.channels.Channels$WritableByteChannelImpl.implCloseChannel(Channels.java:469)
      java.nio.channels.spi.AbstractInterruptibleChannel.close(AbstractInterruptibleChannel.java:115)
      com.sun.faces.application.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:298)
      javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125)
      org.primefaces.application.PrimeResourceHandler.handleResourceRequest(PrimeResourceHandler.java:132)
      org.richfaces.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:264)
      javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125)
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:591)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
      org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:98)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
      org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
      org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
      org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
      com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:126)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
      com.fitnetapplication.resources.filtre.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:25)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
      org.omnifaces.filter.GzipResponseFilter.doFilter(GzipResponseFilter.java:149)
      org.omnifaces.filter.HttpFilter.doFilter(HttpFilter.java:75)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
      com.fitnetapplication.resources.filtre.ResponseHeaderForProxyFilter.doFilter(ResponseHeaderForProxyFilter.java:43)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
      org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489)
      org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
      org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:165)
      org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:372)
      org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
      org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:679)
      org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:931)
      java.lang.Thread.run(Thread.java:744)
      


       

      Does someone encountered the same issue ? It's not a clientAbortException, we first think about a timeout but didn't succeed to find which one.


      Our session timeout is set to 120 minutes, the weld conversation timeout to.



      Our environnement :


      Jboss AS 7.1.3

      Seam 3.1.0.Final

      Primefaces Elite 4.0.6

      JSF Mojarra 2.1.23



      Best regards.