In case of out of memory issues you can search for JVM options like -XX:+HeapDumpOnOutOfMemoryError and others. There is also an option for shell scripts to be executed in case of out of memory.

regards
Michael





-----Original Message-----
From: Tarun Gupta [mailto:tarun.gu...@digitalmountain.com]
Sent: Thursday, October 14, 2010 12:41 PM
To: users@tomcat.apache.org
Subject: Handling Tomcat crash

In the event the tomcat crashes I would like to restart tomcat automatically
or better be alerted of the status that it is crashed. I'm running Tomcat on
Windows server.
Which version of Tomcat? JVM? Windows?

Is there any script which may restart tomcat or any opensource tool which
will send me an alert that it is crashed.
Well there's lots of monitoring tools around.  GIYF.

The easiest thing would be to use the tools provided by the OS. Go
into services and configure the recovery options as you desire. Restart
the service is an option.
But why is tomcat crashing?

+1  This is a more important question.


p


--
    Michael Knümann
    Senior Consultant
    BusinessCoDe GmbH
    Ollenhauerstr.1 D-53113 Bonn

    Geschäftsführer:
    Hanno Gehron, Joerg Kunze
    HRB 008660 - Sitz Bonn

    Office Phone:   +49 (0) 228 / 33885-242
    Mobile Phone:   +49 (0) 174 / 3178178
    Fax:            +49 (0) 228 / 33885--225

    EMail: m...@business-code.de
    http://www.business-code.de


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to