Am new to JMX. I'd like like to use jconsole to restart an application that it is monitoring if it gets killed. I think i should have OpenJDK. How to implement this and which file i got to edit.
In that case, what is the general / best way to monitor a server program and restart it, in case, if it fails.
Precisely the server program is a program that is bind to a rmiregistry or servers like tomcat, apache, etc.