> '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: R( > /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: R( > /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]>