CF MX 6.1 on JRun 4 J2EE

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default CF MX 6.1 on JRun 4 J2EE

    I am running Apache Web Server with JRun 4.0 J2EE server

    I have setup my database connections on JRun

    I am trying to stream PDF files directly to the browser without having to use
    cffile. I found this code:
    <cfscript>
    context = getPageContext();
    context.setFlushOutput(false);
    response = context.getResponse().getResponse();
    out = response.getOutputStream();
    response.setContentType("application/pdf");
    response.setContentLength(arrayLen(getPdf.trp_pdf) );
    out.write(getPdf.trp_pdf);
    out.flush();
    out.close();
    </cfscript>

    The problem is that when I run this only 64000 bytes are returned.
    If I setup the Datasource through ColdFusion, then there is an option to
    change the Blob Buffer, however, I have searched and searched and don't seem to
    be able to find a way to get rid of the buffer limit when the datasource comes
    from JRun.

    Does anyone know of how to eliminate this buffer limit?

    Thanks for your help.

    bhm_cfuser Guest

  2. Similar Questions and Discussions

    1. Add J2EE Archive
      I'm not exactly sure whats going on but when I try to create a .WAR archive of my cf instance via cfmx7 admin (enterprise manager) it is not...
    2. J2EE IDE?
      1. Can Flex be used as the IDE for J2EE programming? 2. If not, what IDE do you recommend? Regards, Sam Swenson
    3. j2ee woes
      Hi, I recently converted from CFMX7 standalone to j2ee for the practice. Everything installed fine but I'm having problems with CFCs. I can view the...
    4. CFMX 7 and a J2ee App
      In the instance that we have CFMX deployed we also have a web application using a specific context root (/myapp). Previously with CFMX 6.1 CFMX...
    5. Coldfusion + .NET or J2EE
      Since I have been reading the forums here I have often seen people post that Coldfusions new selling point is that it is a complement to .NET or...
  3. #2

    Default Re: CF MX 6.1 on JRun 4 J2EE

    We never published the hotfix but it's available as bug 56421. It was
    hard-coded inside the code to 64000.

    Call support and get the hf56421_611.jar and place it in /jrun4/servers/lib.

    Stephen Dupre
    Macromedia QA

    sdupre Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139