tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John.C.Cartwri...@noaa.gov
Subject Re: unable to read complete POST body via tomcat connector
Date Sun, 04 May 2008 23:16:59 GMT
Thanks for your reply Ben. No, there's no SSL involved.

--john


----- Original Message -----
From: Ben Stringer <ben@burbong.com>
Date: Sunday, May 4, 2008 0:50 am
Subject: Re: unable to read complete POST body via tomcat connector

> On Sun, 2008-05-04 at 00:41 -0600, John.C.Cartwright@noaa.gov 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?
> 
> Is there SSL anywhere in your setup?
> 
> Can't see why this would not be working - you may want to try tweaking
> the max_packet_size in workers.properties and packetSize on the Tomcat
> connector, details here:
> 
> http://tomcat.apache.org/connectors-doc/reference/workers.html
> 
> Cheers, Ben
> 
> 
> 
> --------------------------------------------------------------------
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message