org.apache.catalina.connector.ClientAbortException: > java.io.IOException: write beyond end of stream > at > org > .apache > .catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:425) > at > com.sun.grizzly.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433) > at > org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java: > 373) > at > org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java: > 351) > at > org > .apache > .catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java: > 176) > at com.sun.jersey.spi.container.servlet.WebComponent > $Writer.flush(WebComponent.java:318) > at com.sun.jersey.spi.container.ContainerResponse > $CommittingOutputStream.flush(ContainerResponse.java:145) >

Oracle Community | ronak2121 | 6 years ago
  1. 0

    JSON Compression from JAX-RS in Glassfish

    Oracle Community | 6 years ago | ronak2121
    org.apache.catalina.connector.ClientAbortException: > java.io.IOException: write beyond end of stream > at > org > .apache > .catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:425) > at > com.sun.grizzly.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433) > at > org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java: > 373) > at > org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java: > 351) > at > org > .apache > .catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java: > 176) > at com.sun.jersey.spi.container.servlet.WebComponent > $Writer.flush(WebComponent.java:318) > at com.sun.jersey.spi.container.ContainerResponse > $CommittingOutputStream.flush(ContainerResponse.java:145) >
  2. 0

    [Bug 56853] New: "java.io.IOException: Broken pipe" occur.

    apache.org | 11 months ago
    org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:389)
  3. 0

    security session invalidated by atmosphere

    Google Groups | 5 years ago | Sergey Chernushenko
    org.apache.catalina.connector.ClientAbortException: java.nio.channels.ClosedChannelException at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:384) ~[web-core.jar:3.1.1]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    h3. Summary Appears to be regression of: - https://jira.atlassian.com/browse/JRA-43077 - But has alternate Stack Trace in Jira Log "Add gadget" window doesn't display all gadgets available for an instance of JIRA. There is no *"Load all Gadgets"* option in the dialog after 60 seconds. h3. Steps to Reproduce # "Add Gadget" in a New Dashboard. and receive initial error: {quote} Not all gadgets have loaded Were still trying to fetch all of the available gadgets. {quote} !Screen Shot 2016-05-31 at 6.12.13 PM.png|thumbnail! # On some instances it will loads within 60 seconds and an option to load all gadgets appears, and clicking it loads all gadgets successfully {quote} More gadgets available Additional gadgets have been found and can be loaded. Load all gadgets {quote} !Screen Shot 2016-05-31 at 6.13.43 PM.png|thumbnail! # On some Instances it fails every time at 60 seconds the following error appears in UI: {quote} Some gadgets failed to load We were unable to load all of the available gadgets. Try again {quote} !Screen Shot 2016-05-31 at 6.13.07 PM.png|thumbnail! # Selecting Try again Has no result h3. Expected Results Selecting add Gadgets loads gadget directory option in add gadget popup h3. Actual Results At 60 second error in UI noted above The below exception is thrown in the jira log: {noformat} 2016-05-31 16:12:49.779850500 2016-05-31 16:12:49,767 http-nio-3004-exec-126 ERROR [o.a.c.c.C.[.[localhost].[/].[default]] Servlet.service() for servlet [default] in context with path [] threw exception 2016-05-31 16:12:49.779852500 java.lang.RuntimeException: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe 2016-05-31 16:12:49.779853500 at com.atlassian.servicedesk.internal.utils.context.ReentrantThreadLocalBasedCodeContext.rteInvoke(ReentrantThreadLocalBasedCodeContext.java:144) 2016-05-31 16:12:49.779896500 at com.atlassian.servicedesk.internal.utils.context.ReentrantThreadLocalBasedCodeContext.runOutOfContext(ReentrantThreadLocalBasedCodeContext.java:94) 2016-05-31 16:12:49.779897500 at com.atlassian.servicedesk.internal.utils.context.CustomerContextServiceImpl.outOfCustomerContext(CustomerContextServiceImpl.java:44) 2016-05-31 16:12:49.779903500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.outOfCustomerContext(CustomerContextSettingFilter.java:174) 2016-05-31 16:12:49.779903500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilterImpl(CustomerContextSettingFilter.java:131) 2016-05-31 16:12:49.779904500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilter(CustomerContextSettingFilter.java:122) 2016-05-31 16:12:49.779913500 ... 4 filtered 2016-05-31 16:12:49.779914500 at com.atlassian.jwt.internal.servlet.JwtAuthFilter.doFilter(JwtAuthFilter.java:32) 2016-05-31 16:12:49.779914500 ... 8 filtered 2016-05-31 16:12:49.779914500 at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21) 2016-05-31 16:12:49.779915500 ... 4 filtered 2016-05-31 16:12:49.779923500 at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:36) 2016-05-31 16:12:49.779924500 ... 29 filtered 2016-05-31 16:12:49.779924500 at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25) 2016-05-31 16:12:49.779928500 ... 27 filtered 2016-05-31 16:12:49.779928500 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 2016-05-31 16:12:49.779929500 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 2016-05-31 16:12:49.779934500 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 2016-05-31 16:12:49.779935500 at java.lang.Thread.run(Thread.java:745) 2016-05-31 16:12:49.779935500 Caused by: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe 2016-05-31 16:12:49.779935500 at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:393) 2016-05-31 16:12:49.779941500 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:426) 2016-05-31 16:12:49.779942500 at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:339) 2016-05-31 16:12:49.779942500 at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:418) 2016-05-31 16:12:49.779943500 at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:406) 2016-05-31 16:12:49.779948500 ... 1 filtered 2016-05-31 16:12:49.779948500 at com.sun.jersey.spi.container.ContainerResponse$CommittingOutputStream.write(ContainerResponse.java:135) 2016-05-31 16:12:49.779948500 at org.codehaus.jackson.impl.Utf8Generator._flushBuffer(Utf8Generator.java:1748) 2016-05-31 16:12:49.779949500 at org.codehaus.jackson.impl.Utf8Generator.writeString(Utf8Generator.java:561) 2016-05-31 16:12:49.779949500 at org.codehaus.jackson.map.ser.std.StringSerializer.serialize(StringSerializer.java:28) 2016-05-31 16:12:49.779950500 at org.codehaus.jackson.map.ser.std.StringSerializer.serialize(StringSerializer.java:18) 2016-05-31 16:12:49.779955500 at org.codehaus.jackson.map.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:446) 2016-05-31 16:12:49.779955500 at org.codehaus.jackson.map.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:150) 2016-05-31 16:12:49.779956500 at org.codehaus.jackson.map.ser.BeanSerializer.serialize(BeanSerializer.java:112) 2016-05-31 16:12:49.779962500 at org.codehaus.jackson.map.ser.std.IterableSerializer.serializeContents(IterableSerializer.java:55) 2016-05-31 16:12:49.779962500 at org.codehaus.jackson.map.ser.std.IterableSerializer.serializeContents(IterableSerializer.java:15) 2016-05-31 16:12:49.779963500 at org.codehaus.jackson.map.ser.std.AsArraySerializerBase.serialize(AsArraySerializerBase.java:86) 2016-05-31 16:12:49.779963500 at org.codehaus.jackson.map.ser.StdSerializerProvider._serializeValue(StdSerializerProvider.java:610) 2016-05-31 16:12:49.779968500 at org.codehaus.jackson.map.ser.StdSerializerProvider.serializeValue(StdSerializerProvider.java:256) 2016-05-31 16:12:49.779968500 at org.codehaus.jackson.map.ObjectMapper.writeValue(ObjectMapper.java:1604) 2016-05-31 16:12:49.779969500 at org.codehaus.jackson.jaxrs.JacksonJsonProvider.writeTo(JacksonJsonProvider.java:558) 2016-05-31 16:12:49.779969500 at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:302) 2016-05-31 16:12:49.779974500 ... 5 filtered 2016-05-31 16:12:49.779974500 at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:159) 2016-05-31 16:12:49.779975500 ... 1 filtered 2016-05-31 16:12:49.779975500 at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:69) 2016-05-31 16:12:49.779981500 ... 37 filtered 2016-05-31 16:12:49.779981500 at com.atlassian.servicedesk.internal.web.LicenseAwareHttpFilter.doFilter(LicenseAwareHttpFilter.java:31) 2016-05-31 16:12:49.779982500 ... 13 filtered 2016-05-31 16:12:49.779982500 at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21) 2016-05-31 16:12:49.779982500 ... 20 filtered 2016-05-31 16:12:49.779990500 at com.atlassian.jira.plugins.rest.HOT25715FixServletFilter.doFilter(HOT25715FixServletFilter.java:46) 2016-05-31 16:12:49.779990500 ... 25 filtered 2016-05-31 16:12:49.779990500 at com.atlassian.plugin.connect.plugin.auth.scope.ApiScopingFilter.doFilter(ApiScopingFilter.java:81) 2016-05-31 16:12:49.779991500 ... 14 filtered 2016-05-31 16:12:49.779991500 at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:76) 2016-05-31 16:12:49.779991500 at com.atlassian.jira.security.JiraSecurityFilter$$Lambda$551/32062154.doFilter(Unknown Source) 2016-05-31 16:12:49.779996500 ... 1 filtered 2016-05-31 16:12:49.779997500 at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:74) 2016-05-31 16:12:49.779997500 ... 16 filtered 2016-05-31 16:12:49.779997500 at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37) 2016-05-31 16:12:49.779998500 ... 16 filtered 2016-05-31 16:12:49.779998500 at com.atlassian.studio.jira.homepage.CloudHomepageFilter$Action.lambda$nextInFilterChain$1(CloudHomepageFilter.java:110) 2016-05-31 16:12:49.780004500 at com.atlassian.studio.jira.homepage.CloudHomepageFilter$Action$$Lambda$545/25210865.execute(Unknown Source) 2016-05-31 16:12:49.780004500 at com.atlassian.studio.jira.homepage.CloudHomepageFilter.doFilter(CloudHomepageFilter.java:68) 2016-05-31 16:12:49.780005500 ... 17 filtered 2016-05-31 16:12:49.780005500 at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30) 2016-05-31 16:12:49.780010500 ... 5 filtered 2016-05-31 16:12:49.780010500 at com.atlassian.plugin.connect.plugin.auth.user.ThreeLeggedAuthFilter.doFilter(ThreeLeggedAuthFilter.java:109) 2016-05-31 16:12:49.780011500 ... 3 filtered 2016-05-31 16:12:49.780011500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.lambda$invokeFilterChain$0(CustomerContextSettingFilter.java:179) 2016-05-31 16:12:49.780016500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter$$Lambda$532/22608053.call(Unknown Source) 2016-05-31 16:12:49.780017500 at com.atlassian.servicedesk.internal.utils.context.ReentrantThreadLocalBasedCodeContext.rteInvoke(ReentrantThreadLocalBasedCodeContext.java:142) 2016-05-31 16:12:49.780017500 ... 85 more 2016-05-31 16:12:49.780022500 Caused by: java.io.IOException: Broken pipe 2016-05-31 16:12:49.780029500 at sun.nio.ch.FileDispatcherImpl.write0(Native Method) 2016-05-31 16:12:49.780029500 at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47) 2016-05-31 16:12:49.780029500 at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93) 2016-05-31 16:12:49.780030500 at sun.nio.ch.IOUtil.write(IOUtil.java:65) 2016-05-31 16:12:49.780030500 at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471) 2016-05-31 16:12:49.780030500 ... 10 filtered 2016-05-31 16:12:49.780035500 ... 298 more {noformat} h3. Notes The operation takes a long time, and consumes excessive CPU resources. This puts pressure on the whole instance, and is affected by other users that may be attempting to load other JIRA screens. h3.Workaround No Workaround avaliable for instances that hit the 60 second error - Perform the operation again when the site is not being heavily used. And if the link to "Load all gadgets" appears, this will escape the error and allow you to load the gadget directory

    Atlassian JIRA | 6 months ago | Earl McCutcheon [Atlassian]
    org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe 2016-05-31 16:12:49.779935500 at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:393) 2016-05-31 16:12:49.779941500 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:426) 2016-05-31 16:12:49.779942500 at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:339) 2016-05-31 16:12:49.779942500 at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:418) 2016-05-31 16:12:49.779943500 at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:406) 2016-05-31 16:12:49.779948500 ... 1 filtered 2016-05-31 16:12:49.779948500 at com.sun.jersey.spi.container.ContainerResponse$CommittingOutputStream.write(ContainerResponse.java:135) 2016-05-31 16:12:49.779948500 at org.codehaus.jackson.impl.Utf8Generator._flushBuffer(Utf8Generator.java:1748)
  6. 0

    Tomcat - Dev - [Bug 56853] New: "java.io.IOException: Broken pipe" occur.

    nabble.com | 1 year ago
    org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe     at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:389)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.catalina.connector.ClientAbortException

      > java.io.IOException: write beyond end of stream > at > org > .apache > .catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:425) > at > com.sun.grizzly.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433) > at > org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java: > 373) > at > org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java: > 351) > at > org > .apache > .catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java: > 176) > at com.sun.jersey.spi.container.servlet.WebComponent > $Writer.flush(WebComponent.java:318) > at com.sun.jersey.spi.container.ContainerResponse > $CommittingOutputStream.flush(ContainerResponse.java:145) >

      at sun.nio.cs.StreamEncoder.implFlush()
    2. Java RT
      StreamEncoder.implFlush
      1. sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:278)
      1 frame