Bug 27757 - Problem receiving data more than 3 KB.
Summary: Problem receiving data more than 3 KB.
Status: CLOSED WORKSFORME
Alias: None
Product: Tomcat 5
Classification: Unclassified
Component: Connector:AJP (show other bugs)
Version: 5.0.18
Hardware: Sun Solaris
: P3 critical (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL: http://lab8.edf.gxs.com:9090 (inter...
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-17 19:45 UTC by Adrian dela Paz
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments
http.conf (4.19 KB, text/plain)
2004-03-23 18:05 UTC, Adrian dela Paz
Details
http.conf (2.91 KB, text/plain)
2004-03-23 18:05 UTC, Adrian dela Paz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian dela Paz 2004-03-17 19:45:28 UTC
Other components:
jakarta-tomcat-5.0.18
jakarta-tomcat-connectors-jk-1.2.5-solaris8-sparc-apache-2.0.47

When retrieving data more than 3KB, an error occured in the mod_jk.log as shown 
below.
[Wed Mar 17 19:15:09 2004]worker1 lab8.edf.gxs.com 0.007428
[Wed Mar 17 19:15:09 2004]worker1 lab8.edf.gxs.com 0.005896
[Wed Mar 17 19:15:11 2004] [jk_ajp_common.c (1052)]: ERROR sending data to 
client. Connection aborted or network problems
[Wed Mar 17 19:15:11 2004] [jk_ajp_common.c (1303)]: ERROR: Client connection 
aborted or network problems
[Wed Mar 17 19:15:11 2004]worker1 lab8.edf.gxs.com 0.999382
[Wed Mar 17 19:15:11 2004]worker1 lab8.edf.gxs.com 0.011433


I tried the same setup with Iplanet 4.1 instead of Apache2 and using 
nsapi_redirector.so with no problem retrieving data > 3KB.
Comment 1 Henri Gomez 2004-03-18 10:32:08 UTC
Could you try with TC 5.0 and mod_jk from CVS ?

Comment 2 William A. Rowe Jr. 2004-03-18 22:52:56 UTC
  Please, try toggling betweem mod_jk and mod_jk2 to help determine if this is
  is Apacheside or Tomcat Coyote (Java) side.

  
Comment 3 Adrian dela Paz 2004-03-19 15:42:03 UTC
I tried using mod_jk2 and here was the errors in the logs/error_log.
[Mon Mar 15 21:44:32 2004] [error] Error ajp_process_callback - write failed
[Mon Mar 15 21:44:32 2004] [error] ajp13.service() ajpGetReply recoverable 
error 3
[Mon Mar 15 21:44:32 2004] [error] Error ajp_process_callback - write failed
[Mon Mar 15 21:44:32 2004] [error] ajp13.service() ajpGetReply recoverable 
error 3
[Mon Mar 15 21:44:32 2004] [error] ajp13.service() Error  forwarding 
ajp13:localhost:8009 1 0
[Mon Mar 15 21:44:32 2004] [error] mod_jk.handler() Error connecting to tomcat 3

Comment 4 Adrian dela Paz 2004-03-22 21:53:26 UTC
I did compiled from these sources jakarta-tomcat-connectors-jk-1.2.5-src and 
jakarta-tomcat-connectors-jk2-2.0.2-src.  They came out with the same errors.
For mod_jk:
[Mon Mar 22 21:16:17 2004]worker1 lab8.edf.gxs.com 0.008184
[Mon Mar 22 21:16:19 2004] [jk_ajp_common.c (1052)]: ERROR sending data to 
client. Connection aborted or network problems
[Mon Mar 22 21:16:19 2004] [jk_ajp_common.c (1303)]: ERROR: Client connection 
aborted or network problems
[Mon Mar 22 21:16:19 2004]worker1 lab8.edf.gxs.com 0.995260

For mod_jk2:
[Mon Mar 22 21:38:02 2004] [error] mod_jk child init 1 0
[Mon Mar 22 21:38:02 2004] [notice] Apache/2.0.48 (Unix) mod_jk2/2.0.2 
mod_put/2.0.5 configured -- resuming normal operations
[Mon Mar 22 21:38:55 2004] [error] Error ajp_process_callback - write failed
[Mon Mar 22 21:38:55 2004] [error] ajp13.service() ajpGetReply recoverable 
error 3
[Mon Mar 22 21:38:56 2004] [error] Error ajp_process_callback - write failed
[Mon Mar 22 21:38:56 2004] [error] ajp13.service() ajpGetReply recoverable 
error 3
[Mon Mar 22 21:38:56 2004] [error] ajp13.service() Error  forwarding 
ajp13:localhost:8009 1 0
[Mon Mar 22 21:38:56 2004] [error] mod_jk.handler() Error connecting to tomcat 3
Comment 5 Henri Gomez 2004-03-23 13:12:54 UTC
Could you try with jk2 2.0.4 (the latest in CVS).

Also thanks to attach your tomcat5 server and httpd.conf files.

It works for us so it must be in your configuration.

So I close the bug until we get more informations
Comment 6 Adrian dela Paz 2004-03-23 18:05:00 UTC
Created attachment 10928 [details]
http.conf
Comment 7 Adrian dela Paz 2004-03-23 18:05:52 UTC
Created attachment 10929 [details]
http.conf
Comment 8 Adrian dela Paz 2004-03-23 18:38:59 UTC
We are having problem getting into the CVS.  Is there an alternative way of 
getting JK2 2.0.4?  When will JK2 2.0.4 becomes an official release?  I 
attached the httpd.conf for JK and JK2.  We use TC 5.0.18 and tried to attached 
but unsuccessful.  Thanks.
Comment 9 Henri Gomez 2004-03-24 08:49:12 UTC
We need also your workers.properties and TC 5 settings
Comment 10 Adrian dela Paz 2004-03-24 17:29:00 UTC
Upon upgrading and building TC 5.0.19 and Apache2.0.49, I discovered the 
problem in the proxy setting (bypass proxy server for local addresses was not 
used).  Please accept my sincere apology for this mistake.  Thank you very much 
for your time, effort and patience in helping us.  Please consider this bug 
report solved and closed.