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, [EMAIL PROTECTED] 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Montag, 21. Juni 2004 14:37 An: [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

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