Thanks for your reply Mark and sorry I didn't include more specifics the first time.
Tomcat version 5.5.15 mod_jk 1.2.8 Apache 2.0.46 mod_jk-ap20-1.2.8 Java 1.5.0_06 Small files read completely, large files read different amounts depending of the file. I can't find pattern in how much gets read - examples: POST body contained 630973 characters read 313177 characters from POST body POST body contained 21827 characters read 13611 characters from POST body POST body contained 67794 characters read 37640 characters from POST body --john ----- Original Message ----- From: Mark Thomas <[EMAIL PROTECTED]> Date: Sunday, May 4, 2008 2:17 am Subject: Re: unable to read complete POST body via tomcat connector > [EMAIL PROTECTED] wrote: > > Hello All, > > > > I'm trying to POST a relatively small amount of content (22K) and > find> that when the request comes via apache/mod_jk, I can only > read part of > > the body. The same request to standalone tomcat (HTTP connector) > works> file. I'm reading the POST body with code like: > > > > BufferedReader reader = request.getReader(); > > String inputLine; > > while ((inputLine = reader.readLine()) != null) { > > sb.append(inputLine); > > } > > > > Can anyone suggest what might be wrong? > > Tomcat version? mod_jk version? httpd version? jvm version? > Which part of the body can you read? How much data can you read? Is > it > always the same or does it vary by request? > > Mark > > > -------------------------------------------------------------------- > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]