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

            [CONFSERVER-6304] Gzip compression filter error on Weblogic 8.1 SP3

            This issue has a simple workaround (use the default settings), and Confluence is not the only product that has problems with Weblogic GZIP filtering (see http://www.nagiworld.net/2007/04/gzipfilter.html) . And the customer who raised the issue is okay with us closing it. So i close it now.

            Per Fragemann [Atlassian] added a comment - This issue has a simple workaround (use the default settings), and Confluence is not the only product that has problems with Weblogic GZIP filtering (see http://www.nagiworld.net/2007/04/gzipfilter.html ) . And the customer who raised the issue is okay with us closing it. So i close it now.

            Hi guys. The standard GZIP filter doesn't work with WebLogic but an engineer at BEA has written something that works correctly and I am currently using it under WebLogic 8.1 SP4. You can get the source and jar file @ http://www.nagiworld.net/2007/04/gzipfilter.html.

            --Vinny
            http://www.j2eegeek.com/blog/

            Vinny Carpenter added a comment - Hi guys. The standard GZIP filter doesn't work with WebLogic but an engineer at BEA has written something that works correctly and I am currently using it under WebLogic 8.1 SP4. You can get the source and jar file @ http://www.nagiworld.net/2007/04/gzipfilter.html . --Vinny http://www.j2eegeek.com/blog/

            Hi Wim,

            We will investigate this issue, and I will update the known issues document for WebLogic.

            I've knocked the priority down to major as we have a reasonable workaround (the default setting)

            Chris

            Christopher Owen [Atlassian] added a comment - Hi Wim, We will investigate this issue, and I will update the known issues document for WebLogic. I've knocked the priority down to major as we have a reasonable workaround (the default setting) Chris

            For me it can be closed, but add in the Weblogic 8.1 documentation part that the compression servlet filter may not work correctly.

            I think with some additional testing on weblogic 8.1 & looking at some other compression servlet filters available on the internet it could be made to work also on weblogic

            Wim Bervoets added a comment - For me it can be closed, but add in the Weblogic 8.1 documentation part that the compression servlet filter may not work correctly. I think with some additional testing on weblogic 8.1 & looking at some other compression servlet filters available on the internet it could be made to work also on weblogic

            jens added a comment -

            Wim,

            Thanks for the update. I'm not certain if this issue is a Confluence or a Weblogic problem. Do you want to keep this ticket open?

            Cheers,
            Jens

            jens added a comment - Wim, Thanks for the update. I'm not certain if this issue is a Confluence or a Weblogic problem. Do you want to keep this ticket open? Cheers, Jens

            Hi,

            Just found out the error goes away when disabling http response compression in the Confluence administration pages

            Wim

            Wim Bervoets added a comment - Hi, Just found out the error goes away when disabling http response compression in the Confluence administration pages Wim

              Unassigned Unassigned
              cfdab16926fd Wim Bervoets
              Affected customers:
              1 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: