glassfish
  1. glassfish
  2. GLASSFISH-18446

JK listener with Apache + mod_ajp_proxy causes truncated downloads

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1.2_b23
    • Fix Version/s: 3.1.2.2
    • Component/s: grizzly-kernel
    • Labels:
      None

      Description

      Since upgrading to 3.1.2 I am experiencing truncated file downloads from my app with GF behind Apache using a lk-listener and Apache mod_ajp_proxy. It seems to be ajp related as downloads complete fully when accessing app directly on GF http port.

      With jk downloads truncate at 256Kb, the original file is 700Kb.

      This appears in the Apache logs:

      ajp_check_msg_header() got bad signature 28e9
      ajp_ilink_receive() received bad header
      ajp_read_header: ajp_ilink_receive failed
      (120007)APR does not understand this error code: proxy: dialog to 192.168.200.44:8009 (ww.mydomain.com) failed

      Config:

      asadmin create-network-listener --jkenabled true --protocol http-listener-1 --listenerport 8009 jk-listener
      ProxyPass / ajp://www.mydomain.com:8009/
      ProxyPassReverse / ajp://www.mydomain.com:8009/

      Packet capture of failed download attached.

      1. ajp_trunc.cap
        331 kB
        buddypine
      2. chrome_dump.txt
        6 kB
        jsl123
      3. mod_jk.log
        3.02 MB
        buddypine
      4. wget_dump.txt
        12 kB
        jsl123

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            oleksiys
            Reporter:
            buddypine
          • Votes:
            4 Vote for this issue
            Watchers:
            14 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: