You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Vincent Lambert <v....@eurelis.com> on 2002/03/22 19:17:20 UTC

RE : RE : java.lan.OutOfMemoryError

How thread runs on your systèm ?

-----Message d'origine-----
De : Robert Douglass [mailto:r.douglass@onlinehome.de] 
Envoyé : vendredi 22 mars 2002 19:16
À : Tomcat Users List
Objet : RE: RE : java.lan.OutOfMemoryError


Darn, I had my hopes up for an easy solution!

-----Original Message-----
From: Vincent Lambert [mailto:v.lambert@eurelis.com]
Sent: Friday, March 22, 2002 7:10 PM
To: 'Tomcat Users List'
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:david.hamilton@financity.co.uk]
Envoyé : vendredi 22 mars 2002 18:59
À : Tomcat Users List; r.douglass@onlinehome.de
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" <r....@onlinehome.de>
To: "Tomcat Users List" <to...@jakarta.apache.org>
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:r.douglass@onlinehome.de]
> 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:r.douglass@onlinehome.de]
> 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:   <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>
>
>
> --
> 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>


--
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>


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


RE: RE : RE : RE : java.lan.OutOfMemoryError

Posted by Robert Douglass <r....@onlinehome.de>.
I'm running W2K.

-----Original Message-----
From: Vincent Lambert [mailto:v.lambert@eurelis.com]
Sent: Friday, March 22, 2002 7:29 PM
To: 'Tomcat Users List'; r.douglass@onlinehome.de
Subject: RE : RE : RE : java.lan.OutOfMemoryError


Which system (windows /linux / solaris) ?
If linux : ps -aux | grep java

-----Message d'origine-----
De : Robert Douglass [mailto:r.douglass@onlinehome.de]
Envoyé : vendredi 22 mars 2002 19:23
À : Tomcat Users List
Objet : RE: RE : RE : java.lan.OutOfMemoryError


It is single thread.

-----Original Message-----
From: Vincent Lambert [mailto:v.lambert@eurelis.com]
Sent: Friday, March 22, 2002 7:17 PM
To: 'Tomcat Users List'; r.douglass@onlinehome.de
Subject: RE : RE : java.lan.OutOfMemoryError


How thread runs on your systèm ?

-----Message d'origine-----
De : Robert Douglass [mailto:r.douglass@onlinehome.de]
Envoyé : vendredi 22 mars 2002 19:16
À : Tomcat Users List
Objet : RE: RE : java.lan.OutOfMemoryError


Darn, I had my hopes up for an easy solution!

-----Original Message-----
From: Vincent Lambert [mailto:v.lambert@eurelis.com]
Sent: Friday, March 22, 2002 7:10 PM
To: 'Tomcat Users List'
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:david.hamilton@financity.co.uk]
Envoyé : vendredi 22 mars 2002 18:59
À : Tomcat Users List; r.douglass@onlinehome.de
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" <r....@onlinehome.de>
To: "Tomcat Users List" <to...@jakarta.apache.org>
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:r.douglass@onlinehome.de]
> 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:r.douglass@onlinehome.de]
> 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:   <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>
>
>
> --
> 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>


--
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>


--
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>


--
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 : RE : RE : java.lan.OutOfMemoryError

Posted by Vincent Lambert <v....@eurelis.com>.
Which system (windows /linux / solaris) ?
If linux : ps -aux | grep java

-----Message d'origine-----
De : Robert Douglass [mailto:r.douglass@onlinehome.de] 
Envoyé : vendredi 22 mars 2002 19:23
À : Tomcat Users List
Objet : RE: RE : RE : java.lan.OutOfMemoryError


It is single thread.

-----Original Message-----
From: Vincent Lambert [mailto:v.lambert@eurelis.com]
Sent: Friday, March 22, 2002 7:17 PM
To: 'Tomcat Users List'; r.douglass@onlinehome.de
Subject: RE : RE : java.lan.OutOfMemoryError


How thread runs on your systèm ?

-----Message d'origine-----
De : Robert Douglass [mailto:r.douglass@onlinehome.de]
Envoyé : vendredi 22 mars 2002 19:16
À : Tomcat Users List
Objet : RE: RE : java.lan.OutOfMemoryError


Darn, I had my hopes up for an easy solution!

-----Original Message-----
From: Vincent Lambert [mailto:v.lambert@eurelis.com]
Sent: Friday, March 22, 2002 7:10 PM
To: 'Tomcat Users List'
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:david.hamilton@financity.co.uk]
Envoyé : vendredi 22 mars 2002 18:59
À : Tomcat Users List; r.douglass@onlinehome.de
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" <r....@onlinehome.de>
To: "Tomcat Users List" <to...@jakarta.apache.org>
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:r.douglass@onlinehome.de]
> 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:r.douglass@onlinehome.de]
> 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:   <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>
>
>
> --
> 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>


--
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>


--
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>


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


RE: RE : RE : java.lan.OutOfMemoryError

Posted by Robert Douglass <r....@onlinehome.de>.
It is single thread.

-----Original Message-----
From: Vincent Lambert [mailto:v.lambert@eurelis.com]
Sent: Friday, March 22, 2002 7:17 PM
To: 'Tomcat Users List'; r.douglass@onlinehome.de
Subject: RE : RE : java.lan.OutOfMemoryError


How thread runs on your systèm ?

-----Message d'origine-----
De : Robert Douglass [mailto:r.douglass@onlinehome.de]
Envoyé : vendredi 22 mars 2002 19:16
À : Tomcat Users List
Objet : RE: RE : java.lan.OutOfMemoryError


Darn, I had my hopes up for an easy solution!

-----Original Message-----
From: Vincent Lambert [mailto:v.lambert@eurelis.com]
Sent: Friday, March 22, 2002 7:10 PM
To: 'Tomcat Users List'
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:david.hamilton@financity.co.uk]
Envoyé : vendredi 22 mars 2002 18:59
À : Tomcat Users List; r.douglass@onlinehome.de
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" <r....@onlinehome.de>
To: "Tomcat Users List" <to...@jakarta.apache.org>
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:r.douglass@onlinehome.de]
> 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:r.douglass@onlinehome.de]
> 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:   <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>
>
>
> --
> 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>


--
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>


--
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>