Details

      Description

      Case to reproduce:

      • Duplicate content of css file: $GATEIN_TOMCAT/webapps/eXoResources/skin/DefaultSkin/portal/webui/component/UIPortalApplicationSkin.css (make it contain many css define)
      • Run gatein
      • Goto homepage
      • Goto http://localhost:8080/portal/skins/3.9.0.Alpha01-SNAPSHOT/eXoResources/skin/DefaultSkin/portal/webui/component/UIPortalApplicationSkin-lt.css
      • Press and keep the keyboard Ctrl+R to multi reload page
      • Have many exception ERROR on console.
        [http-bio-8080-exec-4] ERROR org.exoplatform.portal.resource.SkinResourceRequestHandler - Could not render css /eXoResources/skin/DefaultSkin/portal/webui/component/UIPortalApplicationSkin.css
        ClientAbortException:  java.net.SocketException: Broken pipe
        	at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:388)
        	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:462)
        	at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:366)
        	at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:413)
        	at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:401)
        	at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:91)
        	at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:84)
        	at org.exoplatform.portal.resource.SkinResourceRequestHandler$1.write(SkinResourceRequestHandler.java:74)
        	at org.exoplatform.portal.resource.SkinService.renderCSS(SkinService.java:465)
        	at org.exoplatform.portal.resource.SkinResourceRequestHandler.execute(SkinResourceRequestHandler.java:101)
        	at org.exoplatform.web.WebAppController.service(WebAppController.java:340)
        	at org.exoplatform.portal.application.PortalController.onService(PortalController.java:110)
        	at org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:133)
        	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        	at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:96)
        	at org.gatein.portal.installer.PortalSetupFilter.doFilter(PortalSetupFilter.java:72)
        	at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:92)
        	at org.exoplatform.web.filter.ExtensibleFilter.doFilter(ExtensibleFilter.java:71)
        	at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:70)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        	at org.exoplatform.web.CacheUserProfileFilter.doFilter(CacheUserProfileFilter.java:68)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        	at org.exoplatform.frameworks.jcr.web.ThreadLocalSessionProviderInitializedFilter.doFilter(ThreadLocalSessionProviderInitializedFilter.java:122)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        	at org.exoplatform.web.login.ConversationStateUpdateFilter.doFilter(ConversationStateUpdateFilter.java:66)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        	at org.gatein.web.security.impersonation.ImpersonationFilter.doFilter(ImpersonationFilter.java:84)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        	at org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentityFilter.java:88)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        	at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:122)
        	at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:55)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        	at org.gatein.security.oauth.webapi.OAuthDelegateFilter.doFilter(OAuthDelegateFilter.java:58)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        	at org.gatein.sso.integration.SSODelegateFilter.doFilter(SSODelegateFilter.java:60)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        	at org.exoplatform.container.web.PortalContainerFilter.doFilter(PortalContainerFilter.java:78)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        	at org.gatein.portal.init.PortalCheckInitFilter.doFilter(PortalCheckInitFilter.java:66)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        	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.gatein.sso.agent.tomcat.ServletAccessValve.invoke(ServletAccessValve.java:55)
        	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:936)
        	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
        	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
        	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
        	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
        	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        	at java.lang.Thread.run(Thread.java:722)
        Caused by: java.net.SocketException: Broken pipe
        	at java.net.SocketOutputStream.socketWrite0(Native Method)
        	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
        	at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
        	at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:215)
        	at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:371)
        	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:383)
        	... 68 more
        

      For this broken pipe exception, we should catch up the exception and keep it silent.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                nttuyen266 Tuyen Nguyen The
                Reporter:
                nttuyen266 Tuyen Nguyen The
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: