Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: Tomcat 5 going to sleep

Mark Lowe

2004-05-25

Replies:

Thanks I do test everything on my dev machine, but I don't have this
issue on osx. The live server however is linux, and thus i'm a little
restricted in terms of the tests I can run.

Restarting the server is of course what i do do, but I've never had
this sort of error previously on a live deployment only when using the
manager app via ant scripts.

See what you mean with the "memory leak" thread.. I guess its time to
see if 5.24 does any better..


On 25 May 2004, at 18:53, Filip Hanik - Dev wrote:

>> java.lang.OutOfMemoryError
>
> after this you are pretty much SOL and have to restart the server.
> Look for other threads with the subject "memory leak"
>
> Filip
>
>
> ----- Original Message -----
> From: "Mark Lowe" <mark.lowe@(protected)>
> To: "Tomcat Users List" <tomcat-user@(protected)>
> Sent: Tuesday, May 25, 2004 11:47 AM
> Subject: Tomcat 5 going to sleep
>
>
> Hello
>
> Sorry for the subject title but didn't know how better to put it.
> Tomcat throws an outofmemory exception when left for a day or so
> depending on how much ram i've assigned to an application and how much
> traffic there has been.
>
> I've seen various postings on this and a lot of clever sounding
> theories one of which seem to end with "Woohoo it works thats great".
>
> The exception when thrown looks like this
>
> SEVERE: Caught exception (java.lang.OutOfMemoryError) executing
> org.apache.jk.co
> mmon.SocketConnection@(protected)
>
> and for each request made via mod_jk i get this
>
> org.apache.jk.common.HandlerRequest decodeRequest
> WARNING: Error registering request
>
> I was using jk2 for a while but stopped doing do as it had various
> quirks that kept wrecking my head.
>
> the jk version I'm using is
> mod_jk/1.2.3-dev compliled against Apache/2.0.47 and tomcat 5.19 and
> java 1.4.2_04
>
> Anybody know where I should start looking?
>
> Thanks
>
> Mark
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
> For additional commands, e-mail: tomcat-user-help@(protected)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
> For additional commands, e-mail: tomcat-user-help@(protected)
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.