New answers tagged solr
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 ...
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