glassfish
  1. glassfish
  2. GLASSFISH-20627

Downloading of larger files stalls when using AJP

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: 4.0_b89_RC5
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Ubuntu server 13.04, OpenJDK 1.7.0_21, Glassfish 4.0 b89 (official version), Apache 2

      Description

      I have a 6 MB file served from Glassfish through AJP/mod_jk and Apache 2. Downloading this using wget stops after approx 735 KB. If I truncate the file to e.g. 512KB downloading works fine.

      Download works fine when accessing port 8080 directly, the problem is only through AJP. I've put the files in a directory under the docroot folder of domain 1.

      I've set up a test case server and can also provide Amazon AMI image of this if you need this. The problem can be seen by trying downloading the following files:

      original file (stalls):
      http://ec2-54-228-91-14.eu-west-1.compute.amazonaws.com/gf4ajptest/motions.mp3

      truncated file (works fine):
      http://ec2-54-228-91-14.eu-west-1.compute.amazonaws.com/gf4ajptest/motions_truncated.mp3

        Activity

        Hide
        Peter Salomonsen added a comment -

        Since no response on this I've stopped the server, but as said I can provide the AMI image so that you can see the bug in action if you need it.

        Show
        Peter Salomonsen added a comment - Since no response on this I've stopped the server, but as said I can provide the AMI image so that you can see the bug in action if you need it.
        Show
        Simon Martinelli added a comment - Same issue here: Works: https://jtaf.ch:8181/jtaf/images/background.jpg Don't: https://jtaf.ch/jtaf/images/background.jpg
        Hide
        traxus added a comment -

        I have the same problem, downloads stall and ultimately time out. Had to rollback to GF 3.1.1, when it last time worked.

        Show
        traxus added a comment - I have the same problem, downloads stall and ultimately time out. Had to rollback to GF 3.1.1, when it last time worked.

          People

          • Assignee:
            michael.y.chen
            Reporter:
            Peter Salomonsen
          • Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: