tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thad Humphries <thad.humphr...@gmail.com>
Subject Re: The question of automatic restart Tomcat
Date Tue, 13 Apr 2010 20:40:15 GMT
This looks to be a feature of Java HotSpot, and available since v1.4:
http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp

On Tue, Apr 13, 2010 at 4:19 PM, Gregor Schneider <rc46fi@googlemail.com>wrote:

> On Tue, Apr 13, 2010 at 7:46 PM, Jon Brisbin
> <jon.brisbin@npcinternational.com> wrote:
> > We use automatic restarts on OutOfMemory errors and it works
> fantastically. I don't do it the way described here, though. I use the JVM's
> -XX:OnOutOfMemoryError option. I add the following to CATALINA_OPTS:
> >
> > -XX:OnOutOfMemoryError=/usr/sbin/restart_tcserver
> >
> I'm not aware of that option within my standard sun jdk 1.6.x - what
> Java-version are you running offering this really useful feature?
>
> Cheers
>
> Gregor
>

-- 
"Hell hath no limits, nor is circumscrib'd In one self-place; but where we
are is hell, And where hell is, there must we ever be" --Christopher
Marlowe, 'Doctor Faustus' (v, 121-24)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message