tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ming fang <mingf...@mac.com>
Subject Re: AW: Problem with Tomcat + Apache + mod_jk
Date Tue, 22 Jun 2004 18:05:06 GMT
first you seem to have a problem with those 302 responses from tomcat.  
you have to fix that first.

i'm using tomcat5 + apache2 + mod_jk2.
in my setup, the chunked header comes from tomcat.

just search google for "tomcat disable chunking".  there are lots of 
hits.

On Jun 22, 2004, at 10:30 AM, Jens.Mueller@dbv-winterthur.de wrote:

> The response from the tomcat looks as follow:
> =============================================
> HTTP/1.1 302 Moved Temporarily
> Set-Cookie: JSESSIONID=E733DF07439078F09D5DD92695DA91F6.e1; Path=/
> Location: xxxxxxxxxxxxxxxxx/login/
> Content-Type: text/plain
> Content-Length: 0
> Date: Tue, 22 Jun 2004 14:22:37 GMT
> Server: Apache Coyote/1.0
>
>
> And now the response from the apache:
> =====================================
> HTTP/1.1 302 Moved Temporarily
> Date: Tue, 22 Jun 2004 14:26:08 GMT
> Server: Apache/1.3.26 (Unix) mod_jk/1.2.5 mod_ssl/2.8.10 OpenSSL/0.9.6e
> Set-Cookie: JSESSIONID=34F73FFFDB846B67D9AAD027DA152B3E.e1; Path=/
> Location: xxxxxxxxxxxxxxxxx/login/
> Transfer-Encoding: chunked
> Content-Type: text/plain
>
>
> Only if I send the request to the apache I will recieve a response 
> with the
> header 'Transfer-Encoding: chunked'.
> Where does this header come from? From the apache or from the tomcat? 
> When
> it comes from tomcat, it is possible to disable this 'feature'`?
>
>
> Greets Jens
>
>
> -----Urspr√ľngliche Nachricht-----
> Von: ming fang [mailto:mingfang@mac.com]
> Gesendet: Dienstag, 22. Juni 2004 15:10
> An: Tomcat Users List
> Betreff: Re: Problem with Tomcat + Apache + mod_jk
>
>
> it looks like the respond is in chunked format.  you should have a
> header that reads Transfer-Encoding:chunked.
> mod_jk1/2 both have serious bugs with chunked encoding.  try going to
> tomcat direct to see with the proper header is there.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>

-ming fang


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