0 Replies Latest reply on Mar 1, 2006 7:02 PM by Frank LaRosa

    Restart after crash (will there be a crash?)

    Frank LaRosa Newbie

      I configured JBoss to start up when my system boots by editing the /etc/init.d/boot.local file. I'm not sure if this is the best solution, but it seems to be working so far.

      Since this is a critical production server, I want to ensure that JBoss stays up. Is it likely that the server process will exit other than by being explicitly killed, or that the JVM will crash?

      I considered modifying the run.sh script to have it loop back and restart JBoss all the time (not just when the exit code is 10) but I'm afraid that this will interfere with shutting down the system or with times when I might want to kill the process manually in order to do an upgrade.

      How have others dealt with this problem? Is there some kind of tool or utility in Linux that monitors and restarts a process? (I'm running the SUSE 10.0 distribution).