tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Short, Dave" <dave.sh...@pfizer.com>
Subject RE: Re[2]: Apache 2.0.39 and Tomcat 4.1.8 Servlet issue
Date Mon, 05 Aug 2002 15:58:56 GMT
Ignacio,

Here's the access.log file from Apache 2.0.39 and Tomcat 4.1.8 (running
in-process).  The following entries were generated when simply bringing up
my default home page, with two different browsers (IE 5.5 and Navigator
4.79).  Notice how IE is using HTTP/1.1 and Navigator is using HTTP/1.0.  IE
displays all servlet generated output correctly and Navigator hangs when
large pages are returned from the servlet.


IE 5.5
------
198.162.100.2 - - [04/Aug/2002:18:44:47 -0700] "GET / HTTP/1.1" 304 0
198.162.100.2 - - [04/Aug/2002:18:44:47 -0700] "GET /js_Cookies.js HTTP/1.1"
304 0
198.162.100.2 - - [04/Aug/2002:18:44:47 -0700] "GET /PSIHomeDT.htm HTTP/1.1"
304 0
198.162.100.2 - - [04/Aug/2002:18:44:47 -0700] "GET /js_init.js HTTP/1.1"
304 0
198.162.100.2 - - [04/Aug/2002:18:44:47 -0700] "GET /js_CenterIt.js
HTTP/1.1" 304 0
198.162.100.2 - - [04/Aug/2002:18:44:47 -0700] "GET /js_UserPass.js
HTTP/1.1" 304 0
198.162.100.2 - - [04/Aug/2002:18:44:47 -0700] "GET /js_SessionVars.js
HTTP/1.1" 304 0
198.162.100.2 - - [04/Aug/2002:18:44:47 -0700] "GET /js_Encrypt.js HTTP/1.1"
304 0


Navigator 4.79
---------------
198.162.100.2 - - [04/Aug/2002:18:45:03 -0700] "GET / HTTP/1.0" 304 0
198.162.100.2 - - [04/Aug/2002:18:45:03 -0700] "GET /js_Cookies.js HTTP/1.0"
304 0
198.162.100.2 - - [04/Aug/2002:18:45:03 -0700] "GET /PSIHomeDT.htm HTTP/1.0"
304 0
198.162.100.2 - - [04/Aug/2002:18:45:03 -0700] "GET /js_init.js HTTP/1.0"
304 0
198.162.100.2 - - [04/Aug/2002:18:45:03 -0700] "GET /js_CenterIt.js
HTTP/1.0" 304 0
198.162.100.2 - - [04/Aug/2002:18:45:03 -0700] "GET /js_UserPass.js
HTTP/1.0" 304 0
198.162.100.2 - - [04/Aug/2002:18:45:03 -0700] "GET /js_SessionVars.js
HTTP/1.0" 304 0
198.162.100.2 - - [04/Aug/2002:18:45:03 -0700] "GET /js_Encrypt.js HTTP/1.0"
304 0


Maybe this sheds a little more light on the problem.

Dave

-----Original Message-----
From: Short, Dave 
Sent: July 24, 2002 3:28 PM
To: 'Tomcat Users List'
Subject: RE: Re[2]: Apache 2.0.39 and Tomcat 4.1.8 Servlet issue


Ignacio,

I can't provide a test case because my servlet is calling a component from
an application server.  The HTML is actually built in the component, within
the application server, and returned to the servlet, web server and
ultimately to the browser.

Basically, some of the HTML pages are around 30-50k in size.

Dave

-----Original Message-----
From: Ignacio J. Ortega [mailto:nacho@siapi.es]
Sent: July 24, 2002 1:34 PM
To: 'Tomcat Users List'
Subject: RE: Re[2]: Apache 2.0.39 and Tomcat 4.1.8 Servlet issue


I'm little out if this thread, could anyone give detaails about the test
case, maybe attaching it to an ad hoc bug in bugzilla, thanks

I'll take a look on this, if i can reproduce it..

Saludos ,
Ignacio J. Ortega


> -----Mensaje original-----
> De: Short, Dave [mailto:dave.short@pfizer.com]
> Enviado el: 24 de julio de 2002 21:21
> Para: 'Tomcat Users List'
> Asunto: RE: Re[2]: Apache 2.0.39 and Tomcat 4.1.8 Servlet issue
> 
> 
> Perhaps one of the mod_jk2 developers could comment?
> 
> -----Original Message-----
> From: Jacob Kjome [mailto:hoju@visi.com]
> Sent: July 24, 2002 12:15 PM
> To: Tomcat Users List
> Subject: Re[2]: Apache 2.0.39 and Tomcat 4.1.8 Servlet issue
> 
> 
> Hello Dave,
> 
> Yeah, I've noticed the same thing with Mozilla (latest nightly build).
> It think mod_jk2 is doing something wrong with the http headers.  IE
> tends to be really lax in enforcing various specs which is why you
> always hear complaints saying "but it works in IE" thinking it is
> Netscape's fault for not doing it right when, in fact, Netscape is
> doing things propery and IE is just ignoring bad syntax.
> 
> Either way, something is not quite right with mod_jk2 and http1.1
> 
> Jake
> 
> Wednesday, July 24, 2002, 12:11:59 PM, you wrote:
> 
> SD> I'm using mod_jk2...  
> 
> SD> It seems to work somewhat consistently on IE 5.5 and VERY 
> inconsistently
> on
> SD> Netscape 4.7x on my W2K professional laptop.  It works 
> fine with IE 5.5
> on
> SD> my W2K server tower, but not with Navigator 4.7x.  Strange.
> 
> SD> -----Original Message-----
> SD> From: Chris McCabe [mailto:Chris_McCabe@choicehotels.com]
> SD> Sent: July 24, 2002 10:06 AM
> SD> To: Tomcat Users List
> SD> Subject: Re: Apache 2.0.39 and Tomcat 4.1.8 Servlet issue
> 
> 
> SD> I ran into the same problem, and it appears to be related to the 
> SD> mod_webapp module.  I switched to using mod_jk and it now 
> works.  I 
> SD> could not find any clues to what was causing the problem 
> (exceptions, 
> SD> etc.) and searching the web only turned up others having the same 
> SD> problem with no solution.
> 
> SD> Chris
> 
> SD> Short, Dave wrote:
> 
> >>There is an issue with Apache 2.0.39 and Tomcat 4.1.8 
> (actually this issue
> >>first appeared with Apache 2.0.36 and Tomcat 4.0.x).  It seems, if a
> SD> servlet
> >>returns content (dynamically built HTML for instance) which 
> exceeds 8192
> in
> >>length, the content is truncated at 8192 and a blank page 
> is rendered by
> >>Apache.  Actually, Apache renders what was returned by 
> Tomcat (8192 bytes
> SD> of
> >>the dynamically generated HTML page).  Basically, an 
> incomplete HTML page
> -
> >>hence it is displayed as blank.
> >>
> >>--
> >>To unsubscribe, e-mail:
> SD> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> >>For additional commands, e-mail:
> SD> <mailto:tomcat-user-help@jakarta.apache.org>
> >>
> >>
> >>  
> >>
> 
> 
> 
> 
> 
> -- 
> Best regards,
>  Jacob                            mailto:hoju@visi.com
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
> 
> --
> To unsubscribe, e-mail:   
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:tomcat-user-help@jakarta.apache.org>
> 
> 

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

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


Mime
View raw message