0 Replies Latest reply on Jun 10, 2010 7:17 AM by abo56

    How to restart JBoss service automatically?

    abo56

      Hello,

       

      in my application I install JBoss 5.0 as a Windows service.

      If the service is running, there are two processes: jbosssvc.exe and java.exe.

      Now I had the problem, that this service terminated unexpectedly without reason.

      I assume, the process java.exe crashed and the jbosssvc.exe then terminated the JBoss service.

      At least this happens, if I kill java.exe manually for a test.

       

      With Apache, there were also two processes, one main process and a working process. If the working process crashed, the main process started it again automatically.

       

      Is there a similar behaviour configurable in JBoss?

       

      Thanks in advance

       

      Alfred