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, [EMAIL PROTECTED] 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:[EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-ming fang


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to