You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Randy Layman <ra...@aswethink.com> on 2002/03/12 14:07:09 UTC

RE: Large pages not completely displayed with IE 5.x and Tomcat 4 .0.x

	I think an obvious first couple of questions:
	1.  Is the page competing execution or is it throwing an exception
or perhaps hanging up due to deadlock?
	2.  Are you ever clicking the stop button in IE (perhaps causing the
browser to give up before the connection is completed?)

	Randy

> -----Original Message-----
> From: Michael Gerdau [mailto:mgd@technosis.de]
> Sent: Tuesday, March 12, 2002 8:46 AM
> To: tomcat-user@jakarta.apache.org
> Subject: Large pages not completely displayed with IE 5.x and Tomcat
> 4.0.x
> 
> 
> Hi !
> 
> I have the following problem:
> I'm running Tomcat 4.0.x (x == 1, 2 or 3) standalone on a Win2000
> machine. I have a WebApp (written with Struts) that accesses a RDBMS
> and creates pages which occasionally are 100+ kB in size. This takes
> some time (between 20-50 seconds).
> 
> When I run Internet Explorer 5.0 or 5.5 on the machine running
> Tomcat (e.g. my development environment) everything works 
> fine. When I'm
> trying to access those pages from another machine within the 
> local network
> (e.g. the production environment) some of these pages don't display
> completely. Examining the HTML inside the browser reveals 
> they are indeed
> incomplete.
> 
> What could cause this ?
> What additional info would be needed to debug this ?
> 
> Any help appreciated, thank you,
> Michael
> --
>  Vote against SPAM - see http://www.politik-digital.de/spam/
>  Michael Gerdau       email: mgd@technosis.de
>  PCDOS&MSDOS&CP/M&WINDOWSI'LLFIDDLEWITHLINUXWOULDN'TYOU
>  PGP-keys available on request or at public keyserver
> 
> 
> 
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
> 

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Large pages not completely displayed with IE 5.x and Tomcat 4 .0.x

Posted by Robin Lee <te...@uls.com>.
Hi,

I had the same problem as you did... One of my pages would not completely
load...

Using: Tomcat 4.02, j2sdk1.4.  Windows 2K/NT, doesn't matter.. happens on
both.

At first I thought that it was because it was large.  But it wasn't the
problem.  The page in question returned about 150K of html code.  Another
page returned 600K and that ALWAYS displayed in its entirety.  So,  after
some checking and testing, i discovered it is because i had too many objects
open.   (Instantiated objects galore).

One thing i did to make it work is to make sure that each object that i
instantiate is opened ONCE... (I use a java mapping strategy to get data
from the database).

Once i did that, the rest of the data would show up with no problem...

That is one thing i would check and see if there are too many objects being
instantiated (same ones all the time).  That's my suggestion.

Good luck,

If that's not it, then i'm not sure what else it could be. :)

...Robin




----- Original Message -----
From: "Michael Gerdau" <mg...@technosis.de>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Tuesday, March 12, 2002 7:08 AM
Subject: RE: Large pages not completely displayed with IE 5.x and Tomcat 4
.0.x


> > I think an obvious first couple of questions:
> > 1.  Is the page competing execution or is it throwing an exception
> >or perhaps hanging up due to deadlock?
>
> Not that I'm aware of. I get the effect by simply logging onto the
> webapp from a different machine immediately after starting tomcat.
> No concurrent users on Tomcat.
>
> This happens both with HTTP/1.1 on port 8080 and HTTP/1.0 on 8082
> (both using the default configuration as of server.xml)
>
> > 2.  Are you ever clicking the stop button in IE (perhaps causing the
> >browser to give up before the connection is completed?)
>
> No.
>
> >> Hi !
> >>
> >> I have the following problem:
> >> I'm running Tomcat 4.0.x (x == 1, 2 or 3) standalone on a Win2000
> >> machine. I have a WebApp (written with Struts) that accesses a RDBMS
> >> and creates pages which occasionally are 100+ kB in size. This takes
> >> some time (between 20-50 seconds).
> >>
> >> When I run Internet Explorer 5.0 or 5.5 on the machine running
> >> Tomcat (e.g. my development environment) everything works
> >> fine. When I'm
> >> trying to access those pages from another machine within the
> >> local network
> >> (e.g. the production environment) some of these pages don't display
> >> completely. Examining the HTML inside the browser reveals
> >> they are indeed
> >> incomplete.
> >>
> >> What could cause this ?
> >> What additional info would be needed to debug this ?
> >>
> >> Any help appreciated, thank you,
> >> Michael
>
> --
>  Vote against SPAM - see http://www.politik-digital.de/spam/
>  Michael Gerdau       email: mgd@technosis.de
>  You mean you think Windows XP **ISN'T** a joke?!
>  PGP-keys available on request or at public keyserver
>
>
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


RE: Large pages not completely displayed with IE 5.x and Tomcat 4 .0.x

Posted by Michael Gerdau <mg...@technosis.de>.
>	I think an obvious first couple of questions:
>	1.  Is the page competing execution or is it throwing an exception
>or perhaps hanging up due to deadlock?

Not that I'm aware of. I get the effect by simply logging onto the
webapp from a different machine immediately after starting tomcat.
No concurrent users on Tomcat.

This happens both with HTTP/1.1 on port 8080 and HTTP/1.0 on 8082
(both using the default configuration as of server.xml)

>	2.  Are you ever clicking the stop button in IE (perhaps causing the
>browser to give up before the connection is completed?)

No.

>> Hi !
>> 
>> I have the following problem:
>> I'm running Tomcat 4.0.x (x == 1, 2 or 3) standalone on a Win2000
>> machine. I have a WebApp (written with Struts) that accesses a RDBMS
>> and creates pages which occasionally are 100+ kB in size. This takes
>> some time (between 20-50 seconds).
>> 
>> When I run Internet Explorer 5.0 or 5.5 on the machine running
>> Tomcat (e.g. my development environment) everything works 
>> fine. When I'm
>> trying to access those pages from another machine within the 
>> local network
>> (e.g. the production environment) some of these pages don't display
>> completely. Examining the HTML inside the browser reveals 
>> they are indeed
>> incomplete.
>> 
>> What could cause this ?
>> What additional info would be needed to debug this ?
>> 
>> Any help appreciated, thank you,
>> Michael

--
 Vote against SPAM - see http://www.politik-digital.de/spam/
 Michael Gerdau       email: mgd@technosis.de
 You mean you think Windows XP **ISN'T** a joke?!
 PGP-keys available on request or at public keyserver



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>