The problem occurs repeatedly. It handles light traffic alright, but as soon
as it has to handle more than one or two page requests per second, the error
log overflows. That is very likely why it is out of memory. When I shut
Tomcat down, the error log needs another MINUTE or two to display all of the
errors in the console window! There is, however, usually no discernable
problem in the application itself. From the client's point of view, it is
business as usual. You can see some code (and get some Duke Dollars) on the
forum site at Sun:
http://forum.java.sun.com/thread.jsp?forum=45&thread=233298

-----Original Message-----
From: David Hamilton [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 22, 2002 9:17 PM
To: Tomcat Users List
Subject: Re: java.lan.OutOfMemoryError


I know that IllegalStateException with TC 4.0x was reported on this list a
few weeks ago - but IIRC the evaluation of it indicated that it was due to
another reason than the one I described below (was it servlet forwarding, or
something like that?)

Is your similar problem occurring recursively, or just the once?

    david

----- Original Message -----
From: "David Hamilton" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, March 22, 2002 7:55 PM
Subject: Re: java.lan.OutOfMemoryError


> You sure?
>
> I only ask because if you are I have to got back to my team member who
> reported 4.01 fixed it and
> get him to
> a) double check with 4.01 and
> b) find if 4.03 is different.
>
>     david
>
> ----- Original Message -----
> From: "Vincent Lambert" <[EMAIL PROTECTED]>
> To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> Sent: Friday, March 22, 2002 6:09 PM
> Subject: RE : java.lan.OutOfMemoryError
>
>
> I encounter similar problem and i am running TC4.0.3 with JDK 1.4.
>
> -----Message d'origine-----
> De : David Hamilton [mailto:[EMAIL PROTECTED]]
> Envoy� : vendredi 22 mars 2002 18:59
> � : Tomcat Users List; [EMAIL PROTECTED]
> Objet : Re: java.lan.OutOfMemoryError
>
>
> > 'java.lan.OutOfMemoryError'
>
> Coo - is your whole LAN out of memory?  Wow!  (Sorry couldn't resist.)
>
> Seriously:  You using JDK 1.4?  We found that TC 3.2.3 with JDK 1.4 was
> giving us a recursive IllegalStateException which locked up the server
> and eventually fell over.
>
> Reason:  Any cancelled or closed HTTP request would apparently cause
> this problem.  Seems that this causes the output stream to be closed and
> under JDK 1.4 any attempt to write to it causes an
> IllegalStateException.
>
> Closer investigation showed that the error handling in 3.2.3 was fairly
> junky, (lots of empty exception handlers, hopefully addressed in 3.3/4.0
> series) and it tries to handle by passing it to the error servlet, which
> tries to write out the error, which gives an IllegalStateException,
> which redirects to the error servlet, etc.
>
> Solution:  TC 4.01 does not exhibit this behaviour, so we upgraded.
>
> Hope that helps
>     david
>
>
> ----- Original Message -----
> From: "Robert Douglass" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Friday, March 22, 2002 12:06 PM
> Subject: RE: java.lan.OutOfMemoryError
>
>
> > I'm using Tomcat 3.2.3, by the way.
> >
> > -----Original Message-----
> > From: Robert Douglass [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, March 22, 2002 1:01 PM
> > To: Tomcat Users List
> > Subject: RE: java.lan.OutOfMemoryError
> >
> >
> > I also get this error:
> >
> > 2002-03-22 12:59:29 - Ctx( /RobertDouglass ): IllegalStateException
> > in: R( /Robe rtDouglass + /img/Beetle5.jpg + null) Current state =
> > FLUSHED, new state = CODIN
> > G
> >
> > but once again, only when I try to access it from the link on my
> > webpage, not when I run localhost:8080 -----Original Message-----
> > From: Robert Douglass [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, March 22, 2002 12:53 PM
> > To: Tomcat Group
> > Subject: java.lan.OutOfMemoryError
> >
> >
> > Hi all,
> > When I run my webapp from localhost, everything seems to be fine. When
>
> > I
> put
> > a link to in on my website and try running accessing it from there, I
> > get: 2002-03-22 12:47:12 - Ctx( /RobertDouglass ): Exception in:
>
> > /RobertDouglass +  /img/Beetle8.jpg + null) -
> > java.lang.OutOfMemoryError and Tomcat eventually crashes, but not
> > before my data is corrupted.
> >
> > I also get the following error:
> > 2002-03-20 22:27:01 - Ctx( /RobertDouglass ): IOException in:
>
> > /RobertDouglass
> > + /img/Beetle6.jpg + null) Software caused connection abort: socket
> > + write
> > error
> >
> > where do I start looking to fix this?
> >
> > Thanks,
> > Robert Douglass
> >
> >
> > --
> > To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> >
> >
> > --
> > To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> >
> >
> > --
> > To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> >
> >
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to