Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-14825

winstone.ClientSocketException: Failed to write to client after upgrade to 1.477

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • core
    • None
    • Running on RHEL 5.4, Sun Java 1.6.0_16 X64.
      Jenkins is being run from the command line using 'java -jar jenkins.war'

      hudsonfsc:
      Running on Windows 2003 x64, Sun Java 1.6.0_35 X64 as a service.

      hudsonfsc: Update for 1.486 --> see label hudsonfsc beneath.

      We're facing an issue since upgrading Jenkins from version 1.464 to version 1.477
      Immediately after start-up we start seeing the following stack-trace in the jenkins.log file:

      ---------------------------- 8< ----------------------------
      Aug 15, 2012 3:09:13 PM org.kohsuke.stapler.compression.CompressionFilter reportException
      WARNING: Untrapped servlet exception
      javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/u01/jenkins/home/war/WEB-INF/lib/jenkins-core-1.477.jar!/hudson/model/View/index.jelly:44:43: <st:include> org.apache.commons.jelly.JellyTagException: jar:file:/u01/jenkins/home/war/WEB-INF/lib/jenkins-core-1.477.jar!/lib/hudson/buildHealth.jelly:67:80: <j:forEach> Failed to write to client
      at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:112)
      at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:127)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:563)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:625)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:488)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:162)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
      at winstone.ServletConfiguration.execute(ServletConfiguration.java:248)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
      at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:58)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
      at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:66)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:135)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:63)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
      at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:331)
      at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:215)
      at winstone.RequestHandlerThread.run(RequestHandlerThread.java:138)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
      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:619)
      Caused by: org.apache.commons.jelly.JellyTagException: jar:file:/u01/jenkins/home/war/WEB-INF/lib/jenkins-core-1.477.jar!/hudson/model/View/index.jelly:44:43: <st:include> org.apache.commons.jelly.JellyTagException: jar:file:/u01/jenkins/home/war/WEB-INF/lib/jenkins-core-1.477.jar!/lib/hudson/buildHealth.jelly:67:80: <j:forEach> Failed to write to client
      at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:716)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:282)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98)
      at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98)
      at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
      at org.kohsuke.stapler.jelly.CompressTag.doTag(CompressTag.java:44)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)
      at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81)
      at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63)
      at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53)
      at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:107)
      ... 60 more
      Caused by: java.lang.RuntimeException: org.apache.commons.jelly.JellyTagException: jar:file:/u01/jenkins/home/war/WEB-INF/lib/jenkins-core-1.477.jar!/lib/hudson/buildHealth.jelly:67:80: <j:forEach> Failed to write to client
      at org.kohsuke.stapler.jelly.groovy.JellyBuilder.doInvokeMethod(JellyBuilder.java:287)
      at org.kohsuke.stapler.jelly.groovy.Namespace$ProxyImpl.invoke(Namespace.java:92)
      at $Proxy36.projectView(Unknown Source)
      at lib.JenkinsTagLib$projectView.call(Unknown Source)
      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
      at hudson.model.View.main.run(main.groovy:14)
      at org.kohsuke.stapler.jelly.groovy.GroovierJellyScript.run(GroovierJellyScript.java:66)
      at org.kohsuke.stapler.jelly.groovy.GroovierJellyScript.run(GroovierJellyScript.java:59)
      at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:146)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)
      ... 91 more
      Caused by: org.apache.commons.jelly.JellyTagException: jar:file:/u01/jenkins/home/war/WEB-INF/lib/jenkins-core-1.477.jar!/lib/hudson/buildHealth.jelly:67:80: <j:forEach> Failed to write to client
      at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:716)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:280)
      at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
      at org.apache.commons.jelly.tags.xml.ElementTag.doTag(ElementTag.java:146)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
      at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81)
      at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:146)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)
      at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
      at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
      at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
      at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
      at org.kohsuke.stapler.jelly.groovy.JellyBuilder.doInvokeMethod(JellyBuilder.java:283)
      ... 102 more
      Caused by: winstone.ClientSocketException: Failed to write to client
      at winstone.ClientOutputStream.write(ClientOutputStream.java:41)
      at winstone.WinstoneOutputStream.commit(WinstoneOutputStream.java:181)
      at winstone.WinstoneOutputStream.commit(WinstoneOutputStream.java:119)
      at winstone.WinstoneOutputStream.write(WinstoneOutputStream.java:112)
      at org.kohsuke.stapler.jelly.DefaultScriptInvoker$1.write(DefaultScriptInvoker.java:99)
      at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202)
      at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272)
      at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:276)
      at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:122)
      at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212)
      at java.io.BufferedWriter.flush(BufferedWriter.java:236)
      at org.dom4j.io.XMLWriter.flush(XMLWriter.java:276)
      at org.apache.commons.jelly.XMLOutput.flush(XMLOutput.java:127)
      at org.apache.commons.jelly.XMLOutput.flush(XMLOutput.java:129)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:272)
      ... 138 more
      Caused by: java.net.SocketException: Broken pipe
      at java.net.SocketOutputStream.socketWrite0(Native Method)
      at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
      at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
      at winstone.ClientOutputStream.write(ClientOutputStream.java:39)
      ... 152 more
      ---------------------------- 8< ----------------------------

      The log file quickly becomes unreadable as this message is continuously repeated.

      There does not appear to be any impact on the functioning of Jenkins itself as all jobs are continuing to build.

      Any ideas as to the cause of this? It must be something that changed between version 1.464 and version 1.477

      hudsonfsc:
      We're facing an issue since upgrading Jenkins from version 1.480 to version 1.486. Every time a user refreshes the Jenkins Webpage, after a timeout this stacktrace appears in jenkins.err.log:
      30.10.2012 11:49:42 org.kohsuke.stapler.compression.CompressionFilter reportException
      WARNUNG: Untrapped servlet exception
      winstone.ClientSocketException: Failed to write to client
      at winstone.ClientOutputStream.write(ClientOutputStream.java:41)
      at winstone.WinstoneOutputStream.commit(WinstoneOutputStream.java:181)
      at winstone.WinstoneOutputStream.commit(WinstoneOutputStream.java:119)
      at winstone.WinstoneOutputStream.write(WinstoneOutputStream.java:112)
      at org.kohsuke.stapler.Stapler.serveStaticResource(Stapler.java:421)
      at org.kohsuke.stapler.Stapler.serveStaticResource(Stapler.java:249)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:152)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
      at winstone.ServletConfiguration.execute(ServletConfiguration.java:248)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
      at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:58)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:63)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
      at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:331)
      at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:215)
      at winstone.RequestHandlerThread.run(RequestHandlerThread.java:138)
      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.net.SocketException: Software caused connection abort: socket write error
      at java.net.SocketOutputStream.socketWrite0(Native Method)
      at java.net.SocketOutputStream.socketWrite(Unknown Source)
      at java.net.SocketOutputStream.write(Unknown Source)
      at winstone.ClientOutputStream.write(ClientOutputStream.java:39)
      ... 57 more

          [JENKINS-14825] winstone.ClientSocketException: Failed to write to client after upgrade to 1.477

          hudsonfsc added a comment -

          Same here on Windows Server 2003 x64 SP2 with Java 1.6.0_35, running as a service.

          I've upgraded from 1.480 to 1.486.
          When I reload the Jenkins Webpage it takes about 1min and after that I see this error every time in jenkins.err.log.

          hudsonfsc added a comment - Same here on Windows Server 2003 x64 SP2 with Java 1.6.0_35, running as a service. I've upgraded from 1.480 to 1.486. When I reload the Jenkins Webpage it takes about 1min and after that I see this error every time in jenkins.err.log.

          Yury Vidineev added a comment -

          Same on Debian 6, jenkins 1.491, sun-java6-jdk (6.26-0squeeze1, build 1.6.0_26-b03)

          Yury Vidineev added a comment - Same on Debian 6, jenkins 1.491, sun-java6-jdk (6.26-0squeeze1, build 1.6.0_26-b03)

          santi sanchez added a comment -

          Same here in SUSE Linux Enterprise Desktop 10, jenkins 1.492, jdk1.6.0.

          ¿Somebody knows something about this issue?

          santi sanchez added a comment - Same here in SUSE Linux Enterprise Desktop 10, jenkins 1.492, jdk1.6.0. ¿Somebody knows something about this issue?

          Sebastian Loh added a comment -

          is this related or duplicate to JENKINS-10524 ?

          Having the same page load issues. (Jenkins 1.493, Java 1.6.0_31-b05), win 2003 Server

          Sebastian Loh added a comment - is this related or duplicate to JENKINS-10524 ? Having the same page load issues. (Jenkins 1.493, Java 1.6.0_31-b05), win 2003 Server

          Liya Katz added a comment -

          See these errors in jenkins log at 1.505 while GUI is stuck

          Liya Katz added a comment - See these errors in jenkins log at 1.505 while GUI is stuck

          Similar error with 1.505, but cc.xml.jelly.
          It takes sometimes ages to load pages.
          Red Hat Enterprise Linux Server release 5.6, java version "1.6.0_33"

          javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/ci/cp/jenkins/home/war/WEB-INF/lib/jenkins-core-1.505.jar!/hudson/model/View/cc.xml.jelly:35:44: <j:forEach> Failed to write to client

          Hans-Juergen Hafner added a comment - Similar error with 1.505, but cc.xml.jelly . It takes sometimes ages to load pages. Red Hat Enterprise Linux Server release 5.6, java version "1.6.0_33" javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar: file:/ci/cp/jenkins/home/war/WEB-INF/lib/jenkins-core-1.505.jar!/hudson/model/View/cc.xml.jelly:35:44: <j:forEach> Failed to write to client

          We've been seeing this occasionally, and cannot nail it down to a root cause. I've disabled numerous plugins to try and narrow it down, but I'm still unable to find anything that can recreate it consistently.

          The error seems to result in parts of the web app returning 404. Must be some of the ajax'y portions that make a call out after the initial page load.

          Unfortunately we also make fairly heavy use of Jenkins API's, and with the API randomly returning a 404 it's severely impacting our workflow. It seems odd to me that the API/UI return a 404 error when in the log we're seeing a straight up exception. I'd expect some sort of 500 error...

          This is what we see in our logs:

          May 06, 2013 10:55:13 AM org.kohsuke.stapler.compression.CompressionFilter reportException
          WARNING: Untrapped servlet exception
          javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/ssd/hudson/war/WEB-INF/lib/jenkins-core-1.514.jar!/lib/hudson/summary.jelly:49:48: <j:when> Failed to write to client
          	at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:117)
          ...
          Caused by: org.apache.commons.jelly.JellyTagException: jar:file:/ssd/hudson/war/WEB-INF/lib/jenkins-core-1.514.jar!/lib/hudson/summary.jelly:49:48: <j:when> Failed to write to client
          	at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:726)
          ...
          Caused by: winstone.ClientSocketException: Failed to write to client
          	at winstone.ClientOutputStream.write(ClientOutputStream.java:41)
          ...
          Caused by: java.net.SocketException: Connection reset
          	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113)
          

          James Hardwick added a comment - We've been seeing this occasionally, and cannot nail it down to a root cause. I've disabled numerous plugins to try and narrow it down, but I'm still unable to find anything that can recreate it consistently. The error seems to result in parts of the web app returning 404. Must be some of the ajax'y portions that make a call out after the initial page load. Unfortunately we also make fairly heavy use of Jenkins API's, and with the API randomly returning a 404 it's severely impacting our workflow. It seems odd to me that the API/UI return a 404 error when in the log we're seeing a straight up exception. I'd expect some sort of 500 error... This is what we see in our logs: May 06, 2013 10:55:13 AM org.kohsuke.stapler.compression.CompressionFilter reportException WARNING: Untrapped servlet exception javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/ssd/hudson/war/WEB-INF/lib/jenkins-core-1.514.jar!/lib/hudson/summary.jelly:49:48: <j:when> Failed to write to client at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:117) ... Caused by: org.apache.commons.jelly.JellyTagException: jar:file:/ssd/hudson/war/WEB-INF/lib/jenkins-core-1.514.jar!/lib/hudson/summary.jelly:49:48: <j:when> Failed to write to client at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:726) ... Caused by: winstone.ClientSocketException: Failed to write to client at winstone.ClientOutputStream.write(ClientOutputStream.java:41) ... Caused by: java.net.SocketException: Connection reset at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113)

          xu dong added a comment - - edited

          Same here on Windows xp X86 SP2 with java version "1.7.0_11", Jenkins ver: 1.488 ,build-pipeline: 1.3.4-snapshot,run by java -jar jenkins.war

          xu dong added a comment - - edited Same here on Windows xp X86 SP2 with java version "1.7.0_11", Jenkins ver: 1.488 ,build-pipeline: 1.3.4-snapshot,run by java -jar jenkins.war

          xu dong added a comment -

          I encounter this problem.On Windows xp X86 SP2 with java version "1.7.0_11", Jenkins ver: 1.488 ,build-pipeline: 1.3.4-snapshot,run by java -jar jenkins.war

          xu dong added a comment - I encounter this problem.On Windows xp X86 SP2 with java version "1.7.0_11", Jenkins ver: 1.488 ,build-pipeline: 1.3.4-snapshot,run by java -jar jenkins.war

          @xu, this issue was closed because it's a duplicate of https://issues.jenkins-ci.org/browse/JENKINS-10524. Please post any comments or further information there instead. Re-closing...

          James Hardwick added a comment - @xu, this issue was closed because it's a duplicate of https://issues.jenkins-ci.org/browse/JENKINS-10524 . Please post any comments or further information there instead. Re-closing...

            Unassigned Unassigned
            dmcnamee Donal McNamee
            Votes:
            26 Vote for this issue
            Watchers:
            26 Start watching this issue

              Created:
              Updated:
              Resolved: