You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Thilko Richter <th...@gmx.de> on 2006/07/04 16:58:57 UTC

XML Fileupload > 8k with mod_jk

Hi together,

I would like to send a xml file from a remote client to the web application. I have an apache and tomcat which are linked over mod_jk. My problem is, that I only get 8K of data in my servlets although the file is bigger. If I send the file directly to a http connector the file has the correct size. I don´t send the file as multipart form data, because it is´nt a fileupload from a html site. What could be the problem? Do I have to configure the apache webserver, or exists some mr configuration possibilities of the ajp connector?

I use:

Tomcat 5.5
Apache 2.?


Thanks in advance,

Thilko
-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

---------------------------------------------------------------------
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


Re: AW: XML Fileupload > 8k with mod_jk

Posted by Rainer Jung <ra...@kippdata.de>.
Hi Thilko,

please report your findings also in the case, when the problem does not
appear with 5.5.15.

Rainer

Thilko Richter schrieb:
> Hi Martina,
> 
> Thanks for the quick answer!
> 
> I use Tomcat 5.5.15.
> 
> In my servlet I use request.getInputStream() and write the received data
> into a byte array. With request.getContentLength() I see that I get less
> data that I have sent to the server.
> 
> Ok, I will try to update my server to a newer version.
> 
> Thanks a lot!
> 
> Regards,
> 
> Thilko
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: Holst, Martina [mailto:martina.holst@hp.com] 
> Gesendet: Dienstag, 4. Juli 2006 17:27
> An: Tomcat Users List
> Betreff: RE: XML Fileupload > 8k with mod_jk
> 
> Hi Thilko,
> 
> Which version of Tomcat 5.5 are you using? 
> There is an InputBuffer bug in older versions that has been fixed in
> Tomcat 5.5.16, see
> http://issues.apache.org/bugzilla/show_bug.cgi?id=38346.
> 
> Regards,
> Martina
> 
> -----Original Message-----
> From: Thilko Richter [mailto:thilko.r@gmx.de] 
> Sent: Tuesday, July 04, 2006 16:59
> To: users@tomcat.apache.org
> Subject: XML Fileupload > 8k with mod_jk
> 
> Hi together,
> 
> I would like to send a xml file from a remote client to the web
> application. I have an apache and tomcat which are linked over mod_jk.
> My problem is, that I only get 8K of data in my servlets although the
> file is bigger. If I send the file directly to a http connector the file
> has the correct size. I don´t send the file as multipart form data,
> because it is´nt a fileupload from a html site. What could be the
> problem? Do I have to configure the apache webserver, or exists some mr
> configuration possibilities of the ajp connector?
> 
> I use:
> 
> Tomcat 5.5
> Apache 2.?
> 
> 
> Thanks in advance,
> 
> Thilko

---------------------------------------------------------------------
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


AW: XML Fileupload > 8k with mod_jk

Posted by Thilko Richter <th...@gmx.de>.
Hi Martina,

Thanks for the quick answer!

I use Tomcat 5.5.15.

In my servlet I use request.getInputStream() and write the received data
into a byte array. With request.getContentLength() I see that I get less
data that I have sent to the server.

Ok, I will try to update my server to a newer version.

Thanks a lot!

Regards,

Thilko


-----Ursprüngliche Nachricht-----
Von: Holst, Martina [mailto:martina.holst@hp.com] 
Gesendet: Dienstag, 4. Juli 2006 17:27
An: Tomcat Users List
Betreff: RE: XML Fileupload > 8k with mod_jk

Hi Thilko,

Which version of Tomcat 5.5 are you using? 
There is an InputBuffer bug in older versions that has been fixed in
Tomcat 5.5.16, see
http://issues.apache.org/bugzilla/show_bug.cgi?id=38346.

Regards,
Martina

-----Original Message-----
From: Thilko Richter [mailto:thilko.r@gmx.de] 
Sent: Tuesday, July 04, 2006 16:59
To: users@tomcat.apache.org
Subject: XML Fileupload > 8k with mod_jk

Hi together,

I would like to send a xml file from a remote client to the web
application. I have an apache and tomcat which are linked over mod_jk.
My problem is, that I only get 8K of data in my servlets although the
file is bigger. If I send the file directly to a http connector the file
has the correct size. I don´t send the file as multipart form data,
because it is´nt a fileupload from a html site. What could be the
problem? Do I have to configure the apache webserver, or exists some mr
configuration possibilities of the ajp connector?

I use:

Tomcat 5.5
Apache 2.?


Thanks in advance,

Thilko
-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

---------------------------------------------------------------------
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


---------------------------------------------------------------------
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


RE: XML Fileupload > 8k with mod_jk

Posted by "Holst, Martina" <ma...@hp.com>.
Hi Thilko,

Which version of Tomcat 5.5 are you using? 
There is an InputBuffer bug in older versions that has been fixed in Tomcat 5.5.16, see http://issues.apache.org/bugzilla/show_bug.cgi?id=38346.

Regards,
Martina

-----Original Message-----
From: Thilko Richter [mailto:thilko.r@gmx.de] 
Sent: Tuesday, July 04, 2006 16:59
To: users@tomcat.apache.org
Subject: XML Fileupload > 8k with mod_jk

Hi together,

I would like to send a xml file from a remote client to the web application. I have an apache and tomcat which are linked over mod_jk. My problem is, that I only get 8K of data in my servlets although the file is bigger. If I send the file directly to a http connector the file has the correct size. I don´t send the file as multipart form data, because it is´nt a fileupload from a html site. What could be the problem? Do I have to configure the apache webserver, or exists some mr configuration possibilities of the ajp connector?

I use:

Tomcat 5.5
Apache 2.?


Thanks in advance,

Thilko
-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

---------------------------------------------------------------------
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