You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dan Kirkpatrick <da...@xxi.com> on 2000/08/11 19:47:41 UTC

Jakarta Bug - but Apache's bug database is down...

I've whittled my .jsp file down to the header (<html>...</html) and a single
line inside the <body> tag.  That single line references the image that
caused the error below.  That line is simply an <IMG> tag.  The file looks
something like:

<html>
<head>
<title>My title</title>
</head>
<body>
<img src="../images/fubar.gif" />
</body>
</html>

The error still occurs.  On the 11th time I reload the page (yes, it's
reliably the 11th time), Jakarta takes a very long time to load the page (>
60 seconds).  The 12th time is even longer.  At this point, the JVM starts
to take up a very large amount of memory (>35 MB, whereas it normally sits
around 10 MB).  This problem is much worse with a complex page (I've let it
run for >5 minutes and it hasn't loaded).

I can only conclude that this is a Jakarta bug.  Unfortunately, Jakarta's
bug database is not online at the moment.  How do I submit a bug to Jakarta?

-dan

-----Original Message-----
From: Dan Kirkpatrick [mailto:dan.kirkpatrick@xxi.com]
Sent: Thursday, August 10, 2000 5:55 PM
To: tomcat-user@jakarta.apache.org
Subject: IOException on pure HTML .jsp file???


I'm getting a weird error that appears to be a bug with Jakarta-Tomcat.

I'm serving up a pure-html page (no <% %> tags) using Jakarta.  The file is
named "fubar.jsp", so it gets processed by Jakarta into a servlet.  When it
runs, I get a few of the following exception on the console:

2000-08-10 05:11:48 - Ctx( /fubar ): IOException in: R( /fubar + / +
/images/fubar.gif) Connection aborted by peer: socket write error

The error is repeatable every time.  The images upon which I see this error
are all given with a relative URL (it's "../images/XXXX.gif").  When the
page is finished loading, the images appear correctly on the resulting page.
However, every so often Jakarta never returns (the IE throbber never stops
throbbing).

Has anyone else had this problem?  This looks most certainly like a bug in
Jakarta, as I'm serving up a pure-html file.  I'm interested in a fix, a
work-around, or some explanation that would allow me to avoid the problem.

Thanks
-dan


RE: Jakarta Bug - but Apache's bug database is down...

Posted by Dan Kirkpatrick <da...@xxi.com>.
Well, well.  It appears I am having two problems.  One is a memory leak in
my own code.  One is a Jakarta bug (the one that gives the error message
below).  They may or may not be related.  My bug appears to be a memory
leak.  I don't *think* the link is caused by the IOException bug.  I'll
update as I progress with this bug...

-dan

-----Original Message-----
From: Dan Kirkpatrick [mailto:dan.kirkpatrick@xxi.com]
Sent: Friday, August 11, 2000 10:48 AM
To: tomcat-user@jakarta.apache.org
Subject: Jakarta Bug - but Apache's bug database is down...


I've whittled my .jsp file down to the header (<html>...</html) and a single
line inside the <body> tag.  That single line references the image that
caused the error below.  That line is simply an <IMG> tag.  The file looks
something like:

<html>
<head>
<title>My title</title>
</head>
<body>
<img src="../images/fubar.gif" />
</body>
</html>

The error still occurs.  On the 11th time I reload the page (yes, it's
reliably the 11th time), Jakarta takes a very long time to load the page (>
60 seconds).  The 12th time is even longer.  At this point, the JVM starts
to take up a very large amount of memory (>35 MB, whereas it normally sits
around 10 MB).  This problem is much worse with a complex page (I've let it
run for >5 minutes and it hasn't loaded).

I can only conclude that this is a Jakarta bug.  Unfortunately, Jakarta's
bug database is not online at the moment.  How do I submit a bug to Jakarta?

-dan

-----Original Message-----
From: Dan Kirkpatrick [mailto:dan.kirkpatrick@xxi.com]
Sent: Thursday, August 10, 2000 5:55 PM
To: tomcat-user@jakarta.apache.org
Subject: IOException on pure HTML .jsp file???


I'm getting a weird error that appears to be a bug with Jakarta-Tomcat.

I'm serving up a pure-html page (no <% %> tags) using Jakarta.  The file is
named "fubar.jsp", so it gets processed by Jakarta into a servlet.  When it
runs, I get a few of the following exception on the console:

2000-08-10 05:11:48 - Ctx( /fubar ): IOException in: R( /fubar + / +
/images/fubar.gif) Connection aborted by peer: socket write error

The error is repeatable every time.  The images upon which I see this error
are all given with a relative URL (it's "../images/XXXX.gif").  When the
page is finished loading, the images appear correctly on the resulting page.
However, every so often Jakarta never returns (the IE throbber never stops
throbbing).

Has anyone else had this problem?  This looks most certainly like a bug in
Jakarta, as I'm serving up a pure-html file.  I'm interested in a fix, a
work-around, or some explanation that would allow me to avoid the problem.

Thanks
-dan