java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '0' bytes instead of stated: '787' bytes.

Atlassian JIRA | Wim Bervoets | 1 decade ago
  1. 0

    Hi, We have a problem serving some images on a Weblogic 8.1 SP3 environment due to a content length exception. Eg. for example: http://server:port/confluence/images/icons/feed_wizard.gif ####<Jun 6, 2006 10:25:28 AM CEST> <Error> <HTTP> <s01ap094> <AAToolsVI> <Execut eThread: '11' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-10110 4> <Servlet execution in servlet context "ServletContext(id=17385679,name=conflu ence2,context-path=/confluence)" failed, java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '0' bytes instead of stated: '787' bytes.. java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '0' bytes instead of stated: '787' bytes. at weblogic.servlet.internal.ServletOutputStreamImpl.ensureContentLength (ServletOutputStreamImpl.java:470) at weblogic.servlet.internal.ServletResponseImpl.ensureContentLength(Ser vletResponseImpl.java:1199) at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImp l.java:1211) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm pl.java:2635) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178) > We're currently evaluating the Confluence wiki and it seems great, expect for this bug. We've created a weblogic.xml as described at http://confluence.atlassian.com/display/DOC/Known+Issues+for+WebLogic

    Atlassian JIRA | 1 decade ago | Wim Bervoets
    java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '0' bytes instead of stated: '787' bytes.
  2. 0

    Hi, We have a problem serving some images on a Weblogic 8.1 SP3 environment due to a content length exception. Eg. for example: http://server:port/confluence/images/icons/feed_wizard.gif ####<Jun 6, 2006 10:25:28 AM CEST> <Error> <HTTP> <s01ap094> <AAToolsVI> <Execut eThread: '11' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-10110 4> <Servlet execution in servlet context "ServletContext(id=17385679,name=conflu ence2,context-path=/confluence)" failed, java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '0' bytes instead of stated: '787' bytes.. java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '0' bytes instead of stated: '787' bytes. at weblogic.servlet.internal.ServletOutputStreamImpl.ensureContentLength (ServletOutputStreamImpl.java:470) at weblogic.servlet.internal.ServletResponseImpl.ensureContentLength(Ser vletResponseImpl.java:1199) at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImp l.java:1211) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm pl.java:2635) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178) > We're currently evaluating the Confluence wiki and it seems great, expect for this bug. We've created a weblogic.xml as described at http://confluence.atlassian.com/display/DOC/Known+Issues+for+WebLogic

    Atlassian JIRA | 1 decade ago | Wim Bervoets
    java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '0' bytes instead of stated: '787' bytes.
  3. 0

    unknown cause- force shut down in weblogic server need help ..

    Google Groups | 10 years ago | Unknown author
    java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '195456' bytes instead of stated: '534548' bytes.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I get an exception "Didn't meet stated Content-Length, wrote"

    Google Groups | 1 decade ago | Rajneesh
    java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '4967' bytes instead of stated: '4963' bytes.
  6. 0

    WL Server Crashes

    Google Groups | 1 decade ago | Gustavo Mejia
    java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '24528' by tes instead of stated: '57106' bytes.

    1 unregistered visitors
    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. java.net.ProtocolException

      Didn't meet stated Content-Length, wrote: '0' bytes instead of stated: '787' bytes.

      at weblogic.servlet.internal.ServletOutputStreamImpl.ensureContentLength()
    2. Atmosphere weblogic
      ServletRequestImpl.execute
      1. weblogic.servlet.internal.ServletOutputStreamImpl.ensureContentLength(ServletOutputStreamImpl.java:470)
      2. weblogic.servlet.internal.ServletResponseImpl.ensureContentLength(ServletResponseImpl.java:1199)
      3. weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1211)
      4. weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2635)
      4 frames
    3. weblogic.kernel
      ExecuteThread.run
      1. weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
      2. weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
      2 frames