Tag Info

New answers tagged

0

i would add a trigger to some monitoring checks, that just runs a script that restarts the tomcat on both systems. And maybe doing some sanity checks before and after the restart. You can write those scripts for example with Fabric (http://www.fabfile.org/) or Rex (http://www.rexify.org/). Also i would try to figure out why the tomcat freeze. If it runs ...


1

Instead of directly running tomcat restart from OnOutOfMemoryError trigger, you may run a simple script that will do it on local server and ssh to the remote to do the same.



Top 50 recent answers are included