I don't have a solution to your question.

However, as tomcat opens several ports, including server management ports,
it might be interesting to allow management applications to "ping" tomcat on
one of these ports and relaunch the service if it doesn't respond.

I don't know how to "ping" tomcat in this way.  Restarting the service
should be possible in platform-dependent ways ("Runtime.exec(...) ...") --
would be nice if the Java Daemons API became available... :-(

-Chris

----- Original Message -----
From: "Hans Brattberg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 24, 2001 2:57 PM
Subject: automcaticly restarting tomcat after crash?


> Hi!
> I'm using Apache and the mod_jk.dll to connect to Tomcat 3.2.3 onm
> windows 2000.
> Once every week my Tomcat, or rather my webapplication, crash.
> I run both my Apache and my Tomcat as a Service in Windows.
> Is there a way to make the Apache instance to automaticly start
> Tomcat, at startup, but also in case of a crash?
> /Hans
>
> Hans Brattberg
> Erudio, www.erudio.se
> Lindvallsgatan 11
> 117 36 Stockholm
> 070-575 31 32

Reply via email to