开发者

Tomcat automatic recovery

开发者 https://www.devze.com 2023-01-27 06:48 出处:网络
I wonder 开发者_开发百科if there is a way to detect if a Tomcat Server has been crashed on a LInux machine? How can i

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

精彩评论

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