tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Hall <rfh...@uclink.berkeley.edu>
Subject mod_jk (Apache-Tomcat) problem
Date Tue, 21 Oct 2003 19:40:41 GMT
Hi,

I'm new to this list and hoping someone can help with the following problem.

We have a JBoss (3.2.1) install w/embedded Tomcat (4.1.24) fronted by
Apache 1.3.27 running on Solaris.

The problem: mod_jk is setting the "Content-Length" header value to 0 for
"Content-Type" of text/html when an HTML document is requested from our
docdownload servlet.  Other text/html content is delivered w/o a problem.
Behavior is same whether or not we set the "Content-Length" header in our
servlet code.

 From apache/logs/jk2.log:

[Tue Oct 21 18:50:29 2003]  ( info) [mod_jk2.c (465)]: 
mod_jk.translate(): uriMa
p /courseweb-qa/util/docdownload/2003/Fa/COM+LIT/R1A/001/ lb:lb
[Tue Oct 21 18:50:29 2003]  ( info) [mod_jk2.c (362)]: mod_jk.handler() 
per dir
worker for 0x1b34f8 0x198d98
[Tue Oct 21 18:50:29 2003]  ( info) [mod_jk2.c (405)]: modjk.handler() 
Calling l
b:lb 0x198d98
[Tue Oct 21 18:50:29 2003]  ( info) [jk_service_apache13.c (110)]: 
service.head(
) 200 2
[Tue Oct 21 18:50:29 2003]  ( info) [jk_service_apache13.c (119)]: 
service.head(
) Content-Type: text/html 0 2
[Tue Oct 21 18:50:29 2003]  ( info) [jk_service_apache13.c (119)]: 
service.head(
) Content-Length: 0 1 
2                                                                                        
          
<==== 0, should be 9408
[Tue Oct 21 18:50:29 2003]  ( info) [jk_service_apache13.c (243)]: 
service.write
()  4096 (4096) out of 8184
[Tue Oct 21 18:50:29 2003]  ( info) [jk_service_apache13.c (243)]: 
service.write
()  4088 (4088) out of 4088
[Tue Oct 21 18:50:29 2003]  ( info) [jk_service_apache13.c (243)]: 
service.write
()  8 (8) out of 8
[Tue Oct 21 18:50:29 2003]  ( info) [jk_service_apache13.c (243)]: 
service.write
()  1216 (1216) out of 1216

Any solutions, suggestions, pointers will be most appreciated.

Thanks,
Robert


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message