开发者

Tomcat automatic recovery

I wonder 开发者_开发百科if there is a way to detect if a Tomcat Server has been crashed on a LInux machine? How can i recover it (- start it) automatically?

I can do it through a cron job. But that is not what i Want!

I want to detect immediately the time that Tomcat crashed! Is there a way?

Any help?

Antonis


Take a look at mysqld_safe. It is mysql's launch script that monitors mysql and can recover from some errors and relaunch mysql again. You might get some hints on how to do the same thing for tomcat.

A link on how the script work is here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜