tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ming fang <mingf...@mac.com>
Subject Re: Problem with Tomcat + Apache + mod_jk
Date Tue, 22 Jun 2004 13:09:44 GMT
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.

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

> Hello,
>
> I have new cognitions.
> The failure only appears, when the server sends a 302 - Moved 
> Temporarily,
> so a redirect.
> But not every time.
>
> The HTTP-Request looks as follow:
>
>
> GET /login/ HTTP/1.1\r\n
> Host: xxxxxxxxx\r\n
> Cookie: JSESSIONID=C825930D6AACACFF3C38D40E9A1AB975.e1\r\n
> \r\n
>
> And now the Response:
>
> 0\r\n
> \r\n
> HTTP/1.1 200 OK\r\n
> Date: Tue, 22 Jun 2004 12:19:43 GMT\r\n
> Server: Apache/1.3.26 (Unix) mod_jk/1.2.5 mod_ssl/2.8.10 
> OpenSSL/0.9.6e\r\n
> Content-Length: 5123\r\n
> Content-Language: de\r\n
> Content-Type: text/html;charset=ISO-8859-1\r\n
> \r\n
> **SOME CONTENT**
>
>
> The first two lines from the Response are wrong at this place and I 
> don't
> know, where they come from.
> Has anyone a tip for me, where the problem could be??
>
> Greets
> Jens
>
>
> -----Urspr√ľngliche Nachricht-----
> Von: Jens.Mueller@dbv-winterthur.de
> [mailto:Jens.Mueller@dbv-winterthur.de]
> Gesendet: Montag, 21. Juni 2004 14:37
> An: tomcat-user@jakarta.apache.org
> Betreff: *** Mail von extern mit internem Absender ***Problem with
> Tomcat + Apache + mod_jk
>
>
> Hello List,
>
> I have a problem with Tomcat 4.1.27, Apache 1.3.26, mod_jk 1.2.5, 
> JDK1.4.2.
> Somethimes the Apache sends a wrong HTTP-Answer and I'll see the 
> following
> HTTP-Header in the browser:
>
> #3>Apache Tomcat/4.1.27
> HTTP/1.1 302 Moved Temporarily Date: Fri, 18 Jun 2004 11:23:55 GMT 
> Server:
> Apache/1.3.26 (Unix) mod_jk/1.2.5 mod_ssl/2.8.10 OpenSSL/0.9.6e 
> Location:
> http://xxxxxxxxx/index.jsp Keep-Alive: timeout=50, max=297 Connection:
> Keep-alive Transfer-Encoding: chunked Content-Type: text/plain 0
>
> What's wrong?
>
> I could post the configurations of apache an tomcat if it helps.
>
> Greets
> Jens
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> 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